From: dvboom at hotmail dot com Operating system: windowsxp PHP version: 4.4.4 PHP Bug Type: *General Issues Bug description: Image/Graph/Plot/Odo.php syntax error
Description: ------------ the function setRangeMarkerFillStyle was set to return a reference object. This function does not return anything. OLD: function &setRangeMarkerFillStyle(&$rangeMarkerFillStyle ) NEW: function setRangeMarkerFillStyle(&$rangeMarkerFillStyle) I removed the & from the function name - and the error was resolved. Reproduce code: --------------- Just create a graph and call setRangeMarkerFillStyle See: http://pear.veggerby.dk/samples/code/id/plot_odo/ Actual result: -------------- Notice: Only variable references should be returned by reference in D:\PHP\PEAR\Image\Graph\Plot\Odo.php on line -- Edit bug report at http://bugs.php.net/?id=39893&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39893&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39893&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39893&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39893&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39893&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39893&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39893&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39893&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39893&r=support Expected behavior: http://bugs.php.net/fix.php?id=39893&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39893&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39893&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39893&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39893&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39893&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39893&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39893&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39893&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39893&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39893&r=mysqlcfg
