3v4l.org

run code in 300+ PHP versions simultaneously
<?php $float = 0.0; if ( ! $float ) { echo "float falsy" . PHP_EOL; } else { echo "float NOT falsy" . PHP_EOL; } $string = '0.0'; if ( ! $string ) { echo "string falsy" . PHP_EOL; } else { echo "string NOT falsy" . PHP_EOL; }

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.5.10.0050.01316.59
8.5.00.0130.00819.73
8.4.160.0130.01121.93
8.4.150.0080.00416.87
8.4.140.0110.01017.41
8.4.130.0160.00617.69
8.4.120.0030.00520.61
8.4.110.0140.00618.88
8.4.100.0040.00517.57
8.4.90.0120.00817.86
8.4.80.0030.00520.84
8.4.70.0120.00817.75
8.4.60.0150.00619.36
8.4.50.0110.00817.58
8.3.280.0070.00516.18
8.3.270.0120.00816.36
8.3.260.0110.00816.59
8.3.250.0120.00718.82
8.3.240.0050.00316.65
8.3.230.0080.01016.65
8.3.220.0120.00616.51
8.3.210.0090.00916.66
8.3.200.0130.00516.37
8.3.190.0040.00416.46
8.3.180.0100.00816.62
8.3.50.0100.01016.70
8.2.290.0090.00920.26
8.2.280.0120.00816.41

preferences:
33.75 ms | 403 KiB | 5 Q