3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo '<?php use function \PHPStan\dumpType; /** @var list<mixed> */ $args = []; '; echo implode("\n", array_map(function (string $fn) { return 'dumpType(\'' . $fn . '\'); dumpType(' . $fn . '(...$args));'; }, get_defined_functions()['internal']));

Abusive script

This script was stopped while abusing our resources

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.110.0080.00020.94
8.3.100.0040.00824.06
8.3.90.0050.00326.77
8.3.80.0120.00317.97
8.3.70.0150.00316.75
8.3.60.0150.00318.32
8.3.50.0080.00818.10
8.3.40.0080.00623.59
8.3.30.0070.00722.96
8.3.20.0090.00922.96
8.2.230.0050.00322.58
8.2.220.0050.00337.54
8.2.210.0040.00426.77
8.2.200.0000.00916.75
8.2.190.0000.01516.85
8.2.180.0120.00918.29
8.2.170.0090.00622.96
8.2.160.0040.01120.40
8.2.150.0140.00719.40
8.1.290.0040.00430.84
8.1.280.0090.00625.92

preferences:
40.82 ms | 403 KiB | 5 Q