3v4l.org

run code in 500+ PHP versions simultaneously
<?php namespace foo; var_dump(function_exists('foo\strlen')); var_dump(strlen('x')); var_dump(function_exists('foo\strlen')); if (true) { function strlen($x) { return 42; } var_dump(function_exists('foo\strlen')); } var_dump(strlen('x'));

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
1552.61 ms | 471 KiB | 20 Q