From: Jared <xe...@si...> - 2002-10-18 00:46:15
|
I don't understand exactly what "passing by reference" is and why I can't find any information about it being deprecated on the PHP website. I also want to know why all sscanf() function examples in the function list on the PHP website use references like we did and you say removing the & still allows the script to function normally. I don't understand the purpose of the & in the first place, then. I understand what & does, but I've never used it before and I'm not sure why it is or is not needed in that case. Anyway, Chad rewrote it so it doesn't even use sscanf so it no longer uses the & either. -Jared On Thursday, October 17, 2002, at 06:49 PM, Waitman C. Gobble wrote: > no, he is likely running a newer version of php. > > the fix is simple. pass by reference is deprecated, and support may > cease in future builds of php. removing the & signs will remove the > error (does not send references to the variables), and the script > functions properly... > > take care > > waitman > > > On Thu, 2002-10-17 at 16:40, Chad wrote: > Your probably running an older version of PHP. You have four > options: > > 1) Update your PHP build > 2) Set allow_call_time_pass_reference to true in your INI file. > 3) Download the latest version of PHP iCalendar from CVS. > 4) Wait for 0.7, which should be out in a day or three. > > > On Thursday, October 17, 2002, at 09:50 PM, Steve Klenert wrote: > >> Just installed and i get this : >> >> 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 sscanf(). 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. >> in /home/sites/site3/web/calendars/functions/ical_parser.php on line >> 563 >> >> 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 sscanf(). 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. >> in /home/sites/site3/web/calendars/functions/ical_parser.php on line >> 563 >> >> Parse error: parse error, expecting `')'' >> in /home/sites/site3/web/calendars/functions/overlapping_events.php on >> line >> 69 >> >> Fatal error: Call to undefined function: checkoverlap() >> in /home/sites/site3/web/calendars/functions/ical_parser.php on line >> 548 >> >> Please help ASAP> >> >> -- >> Best Regards, >> Steve Klenert >> Digital Princeton >> "Quality in Service and Support is our #1 GOAL!" >> -=Hosting=--=Web Design=--=Dedicated Servers=--=Co-Location=- >> -=High Bandwidth Hosting Options=--=Load Balanced Servers=- >> www.digitalprinceton.net >> Emergency Contact: Pag...@Di... >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by: viaVerio will pay you up to >> $1,000 for every account that you consolidate with us. >> http://ad.doubleclick.net/clk;4749864;7604308;v? >> http://www.viaverio.com/consolidator/osdn.cfm >> _______________________________________________ >> Phpicalendar-devel mailing list >> Php...@li... >> https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: viaVerio will pay you up to > $1,000 for every account that you consolidate with us. > http://ad.doubleclick.net/clk;4749864;7604308;v? > http://www.viaverio.com/consolidator/osdn.cfm > _______________________________________________ > Phpicalendar-devel mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpicalendar-devel |