3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = 5; $bar = "a"; var_dump(1 && 2 instanceof StdClass);

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.0070.01018.30
8.3.50.0080.01321.02
8.3.40.0140.00718.81
8.3.30.0100.01320.21
8.3.20.0080.00018.44
8.3.10.0130.00620.92
8.3.00.0070.00022.33
8.2.180.0170.00316.50
8.2.170.0180.00322.96
8.2.160.0070.00720.45
8.2.150.0110.00424.18
8.2.140.0040.00424.66
8.2.130.0140.00326.16
8.2.120.0070.00721.07
8.2.110.0090.00020.52
8.2.100.0060.00617.78
8.2.90.0030.00619.09
8.2.80.0000.00817.97
8.2.70.0000.00817.21
8.2.60.0060.00317.80
8.2.50.0000.00818.07
8.2.40.0040.00418.22
8.2.30.0050.00219.42
8.2.20.0040.00417.59
8.2.10.0090.00017.60
8.2.00.0000.00717.46
8.1.280.0070.00725.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0110.00428.09
8.1.240.0000.00822.29
8.1.230.0090.00320.99
8.1.220.0000.00918.77
8.1.210.0040.00418.80
8.1.200.0000.01117.35
8.1.190.0040.00417.41
8.1.180.0040.00418.10
8.1.170.0040.00418.53
8.1.160.0070.00018.91
8.1.150.0070.00018.62
8.1.140.0040.00417.28
8.1.130.0030.00317.85
8.1.120.0040.00417.41
8.1.110.0070.00017.25
8.1.100.0070.00017.27
8.1.90.0000.00717.41
8.1.80.0000.00817.27
8.1.70.0060.00017.35
8.1.60.0040.00417.40
8.1.50.0040.00417.52
8.1.40.0050.00317.28
8.1.30.0000.00717.45
8.1.20.0030.00617.51
8.1.10.0000.00817.32
8.1.00.0070.00017.35
8.0.300.0040.00419.88
8.0.290.0040.00416.93
8.0.280.0000.00718.27
8.0.270.0000.00717.06
8.0.260.0000.00616.65
8.0.250.0030.00316.93
8.0.240.0050.00316.85
8.0.230.0000.00816.81
8.0.220.0070.00016.86
8.0.210.0000.00716.79
8.0.200.0000.00716.86
8.0.190.0030.00416.89
8.0.180.0040.00416.81
8.0.170.0070.00016.81
8.0.160.0040.00416.78
8.0.150.0090.00016.76
8.0.140.0070.00016.70
8.0.130.0000.00613.23
8.0.120.0020.00516.80
8.0.110.0080.00016.81
8.0.100.0000.00816.66
8.0.90.0000.00716.82
8.0.80.0070.00716.77
8.0.70.0040.00416.69
8.0.60.0050.00216.77
8.0.50.0000.00716.80
8.0.30.0090.01016.75
8.0.20.0130.00717.40
8.0.10.0000.00716.84
8.0.00.0120.01016.62
7.4.330.0000.00516.69
7.4.320.0060.00016.44
7.4.300.0000.00716.43
7.4.290.0030.00416.35
7.4.280.0000.00616.51
7.4.270.0070.00016.34
7.4.260.0030.00313.28
7.4.250.0040.00416.31
7.4.240.0000.00716.43
7.4.230.0040.00416.41
7.4.220.0100.00916.48
7.4.210.0060.01216.50
7.4.200.0030.00316.63
7.4.190.0030.00316.56
7.4.160.0110.00616.35
7.4.150.0080.01217.40
7.4.140.0130.00617.86
7.4.130.0120.00516.33
7.4.120.0090.00816.43
7.4.110.0080.00816.41
7.4.100.0070.01416.37
7.4.90.0190.00316.37
7.4.80.0070.01119.39
7.4.70.0060.00916.35
7.4.60.0090.00916.53
7.4.50.0050.00316.25
7.4.40.0080.00622.77
7.4.30.0130.00516.46
7.3.330.0020.00212.93
7.3.320.0000.00512.86
7.3.310.0060.00015.98
7.3.300.0040.00416.16
7.3.290.0100.00316.16
7.3.280.0080.00816.14
7.3.270.0120.00617.40
7.3.260.0110.00818.24
7.3.250.0110.00716.18
7.3.240.0100.00616.21
7.3.230.0110.00516.39
7.3.210.0090.00816.49
7.3.200.0130.01019.39
7.3.190.0200.00316.15
7.3.180.0140.00316.14
7.3.170.0040.01116.27
7.3.160.0060.01016.06
7.2.330.0070.01116.41
7.2.320.0100.01316.50
7.2.310.0030.01816.26
7.2.300.0050.01016.54
7.2.290.0090.00916.41
5.4.220.0130.04412.34
5.4.210.0100.04712.34
5.4.200.0130.04312.34
5.4.190.0130.03812.33
5.4.180.0190.04712.33
5.4.170.0150.03612.35
5.4.160.0110.04112.34
5.4.150.0090.04112.34
5.4.140.0130.03812.02
5.4.130.0110.03912.01
5.4.120.0110.03811.97
5.4.110.0090.04211.96
5.4.100.0120.03911.96
5.4.90.0100.04111.96
5.4.80.0120.03911.96
5.4.70.0090.04211.96
5.4.60.0210.05811.96
5.4.50.0100.04011.96
5.4.40.0130.04011.95
5.4.30.0140.03811.94
5.4.20.0120.03611.94
5.4.10.0130.04411.94
5.4.00.0120.04511.44
5.3.270.0140.04812.72
5.3.260.0140.04712.72
5.3.250.0120.04812.72
5.3.240.0150.04512.72
5.3.230.0140.04512.71
5.3.220.0220.05312.68
5.3.210.0140.04712.68
5.3.200.0230.06612.68
5.3.190.0100.04912.67
5.3.180.0130.04512.67
5.3.170.0150.04312.67
5.3.160.0100.05012.67
5.3.150.0090.05012.68
5.3.140.0130.04612.66
5.3.130.0150.04912.66
5.3.120.0190.04512.66
5.3.110.0120.05012.66
5.3.100.0190.05712.12
5.3.90.0100.05012.08
5.3.80.0140.04512.08
5.3.70.0130.04512.07
5.3.60.0210.07012.06
5.3.50.0140.04612.00
5.3.40.0110.04912.00
5.3.30.0140.04311.94
5.3.20.0120.04611.71
5.3.10.0140.04411.68
5.3.00.0100.04411.66

preferences:
34.84 ms | 401 KiB | 5 Q