3v4l.org

run code in 300+ PHP versions simultaneously
<?php $product = array('material', 'britelki', 'chaschka', 'kostochki', 'vkladish', 'zastejka'); if( !finction_exists('create_from_variable') ){ function create_from_variable($arr){ foreach($product as $key){ create_function(){ } } }
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.27, 5.5.0 - 5.5.11
Parse error: syntax error, unexpected '{' in /in/o0PLH on line 10
Process exited with code 255.

preferences:
192.9 ms | 1395 KiB | 76 Q