今天在写引用时突然出现了Warning: Call-time pass-by-reference has been deprecated – argument passed by value; If you would like to pass it by reference, modify the declaration of getimagesize(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer错误,后来才知道原因是此方法已不被赞成并在 PHP/Zend 未来的版本中很可能不再支持了
解决办法
第一种方法、 把php.ini的display_errors = on改成display_errors = off (不显示错误)
第二种方法、allow_call_time_pass_reference = Off 变成 allow_call_time_pass_reference = On
上面是对php.ini进行修改,但是如果你没有权限可以修改程序,下面我举个简单的例子,可能出现问题的代码如下:
- function test1($a,$b){
- $b = "fun_test1";
- return;
- }
- $a = "a_value";
- $b = "b_value";
- test1($a,&$b);
不会有问题出现代码如下:
- function test2($a,&$b){
- $b = "fun_test2";
- return;
- }
- $a = "a_value";
- $b = "b_value";
- test2($a,$b);
波比源码 » php错误提示:Call-time pass-by-reference has been deprecated
levaquin 500mg cheap levofloxacin 250mg usa
buy spironolactone 100mg pill diflucan price diflucan usa
buy ampicillin 500mg pill ampicillin 500mg sale erythromycin 500mg without prescription
fildena drug buy nolvadex 20mg sale cheap methocarbamol 500mg
lamictal 200mg cheap order generic vermox retin online
tadalafil kaufen für männer cialis 20mg kaufen viagra kaufen ohne rezept
buy ramipril 5mg order clobetasol pills astelin 10 ml us
buy buspar online cheap order generic ditropan order ditropan 5mg generic
fosamax pills order paracetamol pill buy generic pepcid 40mg
sertraline 100mg for sale kamagra 200mg brand sildenafil in usa
lasix 100mg drug doxycycline buy online plaquenil 400mg tablet
order zyprexa sale brand bystolic buy valsartan without prescription
clozapine 50mg us cheap decadron 0,5 mg order generic decadron 0,5 mg
lopressor medication brand lopressor 50mg buy vardenafil 10mg generic
essays online to buy slots real money real money casino app
vardenafil pills medrol 8 mg otc buy medrol 16 mg online
losartan pills nexium oral topiramate 200mg drug
buy baclofen 10mg generic toradol online order toradol over the counter
buy ranitidine 150mg online order meloxicam generic oral celecoxib 200mg
flagyl 200mg cost purchase augmentin without prescription sulfamethoxazole without prescription
essays buy stromectol 3mg generic stromectol covid
order zithromax pill purchase azithromycin generic neurontin 100mg canada
poker online real money free ed pills buy tadalafil 40mg pills
purchase tadalafil generic diclofenac 50mg over the counter cheap indocin 75mg
cheap terbinafine 250mg generic cefixime buy trimox 250mg for sale
brand tiotropium bromide 9 mcg minocycline 50mg tablet terazosin 5mg drug
order actos 30mg online cheap female viagra sildenafil viagra 100mg brand
play for real online casino games online casinos for real money black jack card game free
nifedipine 30mg uk fexofenadine 180mg cost cheap allegra 180mg
academicwriting order leflunomide 10mg online cheap sulfasalazine tablet
benicar 20mg canada calan 240mg without prescription buy divalproex online
order acetazolamide 250mg generic buy isosorbide online brand imuran 50mg
purchase coreg online elavil pills buy elavil sale
purchase amoxil for sale amoxicillin 500mg oral ivermectin 3mg tablet
indocin online order order flomax 0.2mg for sale buy generic cenforce 100mg
buy pepcid without prescription pepcid 20mg for sale buy generic remeron 15mg
fenofibrate 200mg without prescription sildenafil price buy viagra pills
tadacip 20mg over the counter tadalafil 10mg pills buy trimox generic
minocin usa order hytrin online cheap buy terazosin 5mg for sale
purchase modafinil generic promethazine 25mg pills buy phenergan online
order deltasone 20mg online generic amoxil 250mg buy amoxicillin 1000mg without prescription
buy fildena 50mg without prescription order finasteride pills propecia 1mg cost
Hi, just required you to know I he added your site to my Google bookmarks due to your layout. But seriously, I believe your internet site has 1 in the freshest theme I??ve came across.
buy albuterol without prescription augmentin 625mg price order augmentin 1000mg generic
accutane generic buy amoxil sale azithromycin ca