3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = new class {}; if (empty($foo->bar)) { echo 'oh noez'; }

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.130.0000.00818.22
8.3.120.0100.00720.71
8.3.110.0090.00616.75
8.3.100.0170.00324.06
8.3.90.0070.00726.77
8.3.80.0040.00416.38
8.3.70.0110.01116.58
8.3.60.0140.00716.63
8.3.50.0110.00921.10
8.3.40.0140.00018.63
8.3.30.0100.00318.54
8.3.20.0050.00221.86
8.3.10.0000.00820.32
8.3.00.0000.00721.82
8.2.250.0040.00418.40
8.2.240.0090.00019.11
8.2.230.0090.00020.94
8.2.220.0130.00637.54
8.2.210.0140.00426.77
8.2.200.0060.00318.29
8.2.190.0150.00316.58
8.2.180.0090.00625.92
8.2.170.0070.01118.96
8.2.160.0130.00319.47
8.2.150.0000.00725.66
8.2.140.0040.00424.66
8.2.130.0000.00720.94
8.2.120.0040.00426.35
8.2.110.0040.01319.38
8.2.100.0040.00717.91
8.2.90.0040.00417.75
8.2.80.0000.00818.78
8.2.70.0050.00317.80
8.2.60.0060.00317.80
8.2.50.0050.00318.10
8.2.40.0040.00419.31
8.2.30.0110.00019.27
8.2.20.0000.00818.01
8.2.10.0000.00818.05
8.2.00.0080.00017.54
8.1.300.0150.00416.04
8.1.290.0090.00030.84
8.1.280.0140.00725.92
8.1.270.0050.00323.97
8.1.260.0030.00628.09
8.1.250.0070.00028.09
8.1.240.0060.00322.74
8.1.230.0070.00322.20
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0000.00917.36
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0000.00818.46
8.1.160.0000.00822.00
8.1.150.0050.00218.86
8.1.140.0040.00419.52
8.1.130.0030.00317.72
8.1.120.0030.00617.36
8.1.110.0080.00017.41
8.1.100.0000.00717.48
8.1.90.0030.00417.45
8.1.80.0030.00317.51
8.1.70.0030.00317.50
8.1.60.0000.00817.57
8.1.50.0080.00017.55
8.1.40.0050.00317.44
8.1.30.0080.00017.69
8.1.20.0060.00517.65
8.1.10.0040.00417.54
8.1.00.0020.00517.38
8.0.300.0000.00718.77
8.0.290.0030.00516.63
8.0.280.0030.00318.44
8.0.270.0030.00317.21
8.0.260.0000.00617.37
8.0.250.0070.00316.94
8.0.240.0040.00416.93
8.0.230.0040.00416.98
8.0.220.0000.00716.75
8.0.210.0030.00316.85
8.0.200.0000.00716.83
8.0.190.0040.00416.83
8.0.180.0000.00716.94
8.0.170.0070.00016.93
8.0.160.0030.00816.89
8.0.150.0040.00716.74
8.0.140.0040.00416.84
8.0.130.0060.00313.35
8.0.120.0000.00816.92
8.0.110.0040.00416.85
8.0.100.0000.00716.69
8.0.90.0000.00716.83
8.0.80.0120.00416.84
8.0.70.0030.00516.73
8.0.60.0040.00416.70
8.0.50.0040.00416.75
8.0.30.0080.01016.96
8.0.20.0140.00417.40
8.0.10.0080.00016.87
8.0.00.0080.01216.65
7.4.330.0060.00015.21
7.4.320.0060.00016.59
7.4.300.0000.00616.51
7.4.290.0040.00416.48
7.4.280.0040.00416.47
7.4.270.0040.00416.62
7.4.260.0000.00716.48
7.4.250.0000.00716.47
7.4.240.0060.00316.50
7.4.230.0000.00716.34
7.4.220.0100.01016.39
7.4.210.0070.00816.58
7.4.200.0000.00716.39
7.4.160.0100.00516.52
7.4.150.0110.00617.40
7.4.140.0090.01117.86
7.4.130.0050.01216.46
7.4.120.0140.00316.41
7.4.110.0080.00816.47
7.4.100.0140.00716.43
7.4.90.0130.00316.32
7.4.80.0110.00619.39
7.4.70.0070.01016.58
7.4.60.0100.00716.67
7.4.50.0070.01116.48
7.4.40.0110.01016.57
7.4.30.0060.01316.38
7.4.00.0070.00715.07
7.3.330.0020.00313.09
7.3.320.0030.00313.18
7.3.310.0000.00716.15
7.3.300.0040.00416.13
7.3.290.0000.00816.17
7.3.280.0080.01216.14
7.3.270.0030.01717.40
7.3.260.0060.01116.23
7.3.250.0100.00816.21
7.3.240.0080.00916.28
7.3.230.0140.00316.39
7.3.210.0070.01316.24
7.3.200.0100.00716.25
7.3.190.0130.00316.37
7.3.180.0100.00716.30
7.3.170.0160.00016.39
7.3.160.0150.00616.23
7.3.10.0070.00716.48
7.3.00.0080.00416.71
7.2.330.0100.00716.72
7.2.320.0030.01516.28
7.2.310.0140.00416.66
7.2.300.0100.01316.73
7.2.290.0070.01116.62
7.2.130.0070.00716.61
7.2.120.0050.00516.66
7.2.110.0070.00316.71
7.2.100.0040.00816.62
7.2.90.0090.00316.99
7.2.80.0000.01216.55
7.2.70.0070.00716.88
7.2.60.0040.01116.57
7.2.50.0060.00916.75
7.2.40.0070.00716.93
7.2.30.0040.01116.72
7.2.20.0040.00816.64
7.2.10.0000.01116.67
7.2.00.0030.00918.18
7.1.250.0040.00415.46
7.1.200.0040.00415.79
7.1.100.0090.00617.68
7.1.70.0000.00716.82
7.1.60.0040.00717.21
7.1.50.0100.00016.59
7.1.00.0030.07322.31
7.0.200.0060.00914.61
7.0.120.0030.05322.09
7.0.110.0030.07322.02
7.0.100.0070.07022.18
7.0.90.0070.07022.07
7.0.80.0030.06721.97
7.0.70.0030.07322.16
7.0.60.0030.06022.08
7.0.50.0030.05322.05
7.0.40.0070.07022.21
7.0.30.0100.06022.20
7.0.20.0000.07322.07
7.0.10.0000.06722.02
7.0.00.0070.07022.07
5.6.260.0030.07321.09
5.6.250.0070.07020.96
5.6.240.0070.07020.85
5.6.230.0070.07320.84
5.6.220.0070.06020.81
5.6.210.0070.07020.97
5.6.200.0000.05721.01
5.6.190.0030.07721.07
5.6.180.0070.06721.05
5.6.170.0000.07321.01
5.6.160.0030.07320.89
5.6.150.0030.07320.83
5.6.140.0070.07320.79
5.6.130.0130.06320.79
5.6.120.0000.07321.03
5.6.110.0030.07721.04
5.6.100.0070.07321.04
5.6.90.0030.07321.00
5.6.80.0130.05720.31
5.6.70.0070.06720.29
5.6.60.0070.07020.20
5.6.50.0100.06020.21
5.6.40.0030.07020.29
5.6.30.0030.07320.41
5.6.20.0100.06720.18
5.6.10.0000.07020.18
5.6.00.0000.07320.18

preferences:
74.92 ms | 403 KiB | 5 Q