3v4l.org

run code in 300+ PHP versions simultaneously
<?php function foo(string $str){ var_dump("I am a string --> ", $str); } foo(false);

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
106.27 ms | 2292 KiB | 4 Q