3v4l.org

run code in 300+ PHP versions simultaneously
<?php function doFooParams( string $file = __FILE__, int $line = __LINE__, string $class = __CLASS__, string $dir = __DIR__, string $namespace = __NAMESPACE__, string $method = __METHOD__, string $function = __FUNCTION__, string $trait = __TRAIT__ ): void { var_dump($function); var_dump($method); } doFooParams();
Output for git.master, git.master_jit, rfc.property-hooks
string(11) "doFooParams" string(11) "doFooParams"

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
56.97 ms | 405 KiB | 5 Q