3v4l.org

run code in 300+ PHP versions simultaneously
<?php $parts = explode(';',"1352,13;21313"); print_r($parts); $returnVal = array_pop(&$parts); print_r($returnVal); print_r($parts);
Output for 5.4.0 - 5.4.27
Fatal error: Call-time pass-by-reference has been removed in /in/OQTRF on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Deprecated: Call-time pass-by-reference has been deprecated in /in/OQTRF on line 5 Array ( [0] => 1352,13 [1] => 21313 ) 21313Array ( [0] => 1352,13 )

preferences:
187.43 ms | 1386 KiB | 65 Q