3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = 'bar'; var_dump($foo instanceof \Some\Non\Existing\Class); echo "all good";

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.60.0100.00716.63
8.3.50.0130.00522.02
8.3.40.0170.00018.86
8.3.30.0070.00719.02
8.3.20.0080.00020.21
8.3.10.0080.00023.27
8.3.00.0040.00420.46
8.2.180.0100.01016.63
8.2.170.0070.00722.96
8.2.160.0100.00322.25
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0070.00726.16
8.2.120.0000.00722.45
8.2.110.0060.00322.26
8.2.100.0090.00018.92
8.1.280.0040.01225.92
8.1.270.0040.00423.79
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0030.00618.54
8.1.230.0030.00618.34
5.4.220.0200.04212.36
5.4.210.0220.03712.37
5.4.200.0160.05212.37
5.4.190.0200.04312.36
5.4.180.0150.04512.36
5.4.170.0200.03912.37
5.4.160.0200.04012.36
5.4.150.0090.05212.36
5.4.140.0160.04512.05
5.4.130.0240.09512.03
5.4.120.0090.04812.00
5.4.110.0100.04512.00
5.4.100.0170.04012.00
5.4.90.0130.04312.00
5.4.80.0170.04112.00
5.4.70.0170.03811.99
5.4.60.0150.04111.99
5.4.50.0130.04511.99
5.4.40.0130.04511.98
5.4.30.0160.04211.97
5.4.20.0150.04011.96
5.4.10.0150.04111.98
5.4.00.0180.04111.47
5.3.270.0140.04612.72
5.3.260.0340.09012.71
5.3.250.0230.03912.71
5.3.240.0120.05012.72
5.3.230.0130.05512.70
5.3.220.0190.04512.68
5.3.210.0170.05312.68
5.3.200.0390.08412.68
5.3.190.0170.04712.68
5.3.180.0190.04512.68
5.3.170.0150.05012.67
5.3.160.0200.04012.67
5.3.150.0170.04412.67
5.3.140.0160.04912.66
5.3.130.0410.08612.66
5.3.120.0160.04612.66
5.3.110.0140.04812.66
5.3.100.0180.04512.12
5.3.90.0170.04312.08
5.3.80.0210.05412.08
5.3.70.0210.04212.08
5.3.60.0190.04312.06
5.3.50.0130.05412.00
5.3.40.0110.05312.00
5.3.30.0290.05811.94
5.3.20.0140.04411.71
5.3.10.0220.03411.67
5.3.00.0160.04111.65

preferences:
33.86 ms | 401 KiB | 5 Q