3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ex = '${${phpinfo()}}'; ob_start('create_function'); echo $ex; ob_get_flush();
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
Warning: ob_start(): function "create_function" not found or invalid function name in /in/pBqlr on line 4 Notice: ob_start(): Failed to create buffer in /in/pBqlr on line 4 ${${phpinfo()}} Notice: ob_get_flush(): Failed to delete and flush buffer. No buffer to delete or flush in /in/pBqlr on line 6
Output for 7.2.0 - 7.2.33, 7.3.16 - 7.3.31, 7.4.0 - 7.4.33
${${phpinfo()}} Deprecated: Function create_function() is deprecated in /in/pBqlr on line 6 Parse error: syntax error, unexpected '$', expecting variable (T_VARIABLE) in /in/pBqlr(6) : runtime-created function on line 1
Process exited with code 255.
Output for 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.20, 7.3.32 - 7.3.33
${${phpinfo()}} Parse error: syntax error, unexpected '$', expecting variable (T_VARIABLE) in /in/pBqlr(6) : runtime-created function on line 1
Process exited with code 255.
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.38
${${phpinfo()}} Parse error: syntax error, unexpected '$', expecting '&' or variable (T_VARIABLE) in /in/pBqlr(6) : runtime-created function on line 1
Process exited with code 255.

preferences:
195.87 ms | 401 KiB | 265 Q