3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class dummy { public function __toString() { unset($GLOBALS['arr1'][0]); $GLOBALS['test1'] .= str_repeat('B', 34); $GLOBALS['test2'] .= str_repeat('C', 34); return ''; } } $test1=0; $test2=4; $arr1 = array(new dummy,'343434'); $data = implode(",", &$arr1);
Output for 5.4.0 - 5.4.10
Fatal error: Call-time pass-by-reference has been removed in /in/EDZ1c on line 15
Process exited with code 255.
Output for 5.3.28 - 5.3.29
Deprecated: Call-time pass-by-reference has been deprecated in /in/K8Kun on line 15
Output for 5.3.0 - 5.3.27
Deprecated: Call-time pass-by-reference has been deprecated in /in/EDZ1c on line 15