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.0150.00618.43
8.3.50.0180.00321.08
8.3.40.0100.01018.71
8.3.30.0100.01020.17
8.3.20.0050.00318.38
8.3.10.0070.01120.80
8.3.00.0040.00422.52
8.2.180.0090.00916.50
8.2.170.0110.00722.96
8.2.160.0100.00720.35
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0180.00026.16
8.2.120.0030.01021.18
8.2.110.0100.00720.54
8.2.100.0060.00617.78
8.2.90.0080.00019.07
8.2.80.0000.00717.97
8.2.70.0040.00417.38
8.2.60.0000.00817.80
8.2.50.0030.00618.07
8.2.40.0000.00818.22
8.2.30.0040.00419.42
8.2.20.0050.00217.58
8.2.10.0060.00317.59
8.2.00.0040.00417.66
8.1.280.0070.00725.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00317.35
8.1.230.0080.00317.42
8.1.220.0050.00318.77
8.1.210.0050.00318.77
8.1.200.0000.00817.23
8.1.190.0070.00017.41
8.1.180.0040.00418.10
8.1.170.0030.00518.52
8.1.160.0040.00418.80
8.1.150.0040.00418.59
8.1.140.0040.00417.43
8.1.130.0050.00217.81
8.1.120.0040.00417.28
8.1.110.0040.00417.40
8.1.100.0000.00717.28
8.1.90.0030.00317.38
8.1.80.0050.00317.23
8.1.70.0030.00317.41
8.1.60.0030.00617.39
8.1.50.0040.00417.40
8.1.40.0030.00617.35
8.1.30.0000.00717.57
8.1.20.0030.00517.62
8.1.10.0000.00717.30
8.1.00.0000.00717.36
8.0.300.0040.00420.04
8.0.290.0030.00317.05
8.0.280.0000.00718.36
8.0.270.0050.00317.16
8.0.260.0030.00316.74
8.0.250.0040.00416.78
8.0.240.0030.00516.78
8.0.230.0040.00416.92
8.0.220.0060.00016.83
8.0.210.0040.00416.72
8.0.200.0030.00316.89
8.0.190.0000.00816.80
8.0.180.0030.00516.70
8.0.170.0070.00016.86
8.0.160.0040.00416.88
8.0.150.0000.00716.77
8.0.140.0040.00316.66
8.0.130.0030.00313.23
8.0.120.0030.00616.72
8.0.110.0000.00716.76
8.0.100.0080.00016.70
8.0.90.0000.00716.86
8.0.80.0030.01316.79
8.0.70.0070.00016.77
8.0.60.0040.00416.61
8.0.50.0000.00716.76
8.0.30.0090.00917.09
8.0.20.0060.01317.40
8.0.10.0000.00716.82
8.0.00.0080.01216.59
7.4.330.0000.00516.89
7.4.320.0030.00316.49
7.4.300.0070.00016.44
7.4.290.0030.00316.56
7.4.280.0030.00316.56
7.4.270.0030.00316.39
7.4.260.0000.00613.22
7.4.250.0040.00416.47
7.4.240.0020.00516.46
7.4.230.0000.00816.31
7.4.220.0150.00316.63
7.4.210.0070.00816.49
7.4.200.0030.00316.61
7.4.190.0000.00716.52
7.4.160.0140.00516.46
7.4.150.0100.00717.40
7.4.140.0150.00517.86
7.4.130.0110.00816.43
7.4.120.0070.00916.59
7.4.110.0070.01016.57
7.4.100.0140.00316.46
7.4.90.0110.01116.44
7.4.80.0100.00719.39
7.4.70.0140.00316.34
7.4.60.0060.01216.46
7.4.50.0060.00316.19
7.4.40.0100.00322.77
7.4.30.0100.00716.32
7.3.330.0050.00013.05
7.3.320.0000.00512.87
7.3.310.0030.00316.08
7.3.300.0000.00816.03
7.3.290.0110.00316.13
7.3.280.0100.00816.14
7.3.270.0190.02017.40
7.3.260.0120.01018.24
7.3.250.0040.01316.22
7.3.240.0120.00416.13
7.3.230.0080.01116.52
7.3.210.0140.00316.45
7.3.200.0180.00719.39
7.3.190.0160.00616.51
7.3.180.0080.00816.34
7.3.170.0070.01016.27
7.3.160.0110.01016.15
7.2.330.0120.00916.10
7.2.320.0030.01816.25
7.2.310.0090.00916.47
7.2.300.0000.01516.47
7.2.290.0100.00716.47
5.4.220.0110.03612.33
5.4.210.0100.03712.33
5.4.200.0140.04612.33
5.4.190.0090.03912.33
5.4.180.0100.03812.33
5.4.170.0100.03712.34
5.4.160.0090.03912.33
5.4.150.0130.03512.33
5.4.140.0120.03812.01
5.4.130.0090.03912.00
5.4.120.0120.03611.96
5.4.110.0170.04911.96
5.4.100.0090.03811.96
5.4.90.0090.03911.96
5.4.80.0080.04011.96
5.4.70.0120.03511.95
5.4.60.0090.03811.95
5.4.50.0120.04711.95
5.4.40.0060.04011.94
5.4.30.0120.03511.94
5.4.20.0110.03511.94
5.4.10.0090.03711.94
5.4.00.0100.03811.43
5.3.270.0140.04612.72
5.3.260.0090.04212.72
5.3.250.0120.03812.72
5.3.240.0190.05212.72
5.3.230.0100.04112.71
5.3.220.0090.04012.68
5.3.210.0070.04412.68
5.3.200.0130.03712.68
5.3.190.0090.04112.68
5.3.180.0080.04012.67
5.3.170.0090.03912.67
5.3.160.0110.03812.67
5.3.150.0110.03912.67
5.3.140.0100.03812.66
5.3.130.0110.04812.66
5.3.120.0090.04112.66
5.3.110.0110.03912.66
5.3.100.0090.03912.12
5.3.90.0090.04012.08
5.3.80.0090.04212.07
5.3.70.0070.04112.07
5.3.60.0110.04712.06
5.3.50.0090.04112.00
5.3.40.0090.03912.00
5.3.30.0110.03511.94
5.3.20.0080.03911.71
5.3.10.0090.04111.67
5.3.00.0100.03711.66

preferences:
30.43 ms | 401 KiB | 5 Q