3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public static $foo = null; } class Bar extends Foo { } Foo::$foo = 123; var_dump(Bar::$foo);

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.0110.00418.45
8.3.50.0100.00721.91
8.3.40.0070.00718.79
8.3.30.0120.00318.85
8.3.20.0030.00620.19
8.3.10.0050.00520.57
8.3.00.0070.01323.52
8.2.180.0140.00418.05
8.2.170.0130.00722.96
8.2.160.0070.00722.13
8.2.150.0120.00624.18
8.2.140.0060.00324.66
8.2.130.0060.00321.00
8.2.120.0030.00626.35
8.2.110.0040.00419.45
8.2.100.0040.00817.80
8.2.90.0040.00419.17
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0040.00417.90
8.2.50.0170.00418.09
8.2.40.0000.00820.54
8.2.30.0070.00319.34
8.2.20.0000.00717.61
8.2.10.0040.00418.00
8.2.00.0020.00517.98
8.1.280.0070.01625.92
8.1.270.0000.00821.85
8.1.260.0150.00328.09
8.1.250.0040.00428.09
8.1.240.0070.01122.48
8.1.230.0060.00617.76
8.1.220.0050.00317.74
8.1.210.0090.00018.77
8.1.200.0000.01017.25
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0030.00518.65
8.1.160.0040.00420.72
8.1.150.0090.00020.61
8.1.140.0080.00019.44
8.1.130.0020.00517.65
8.1.120.0040.00417.32
8.1.110.0000.00817.32
8.1.100.0040.00417.43
8.1.90.0050.00317.46
8.1.80.0030.00717.43
8.1.70.0000.00717.41
8.1.60.0040.00417.42
8.1.50.0000.00817.39
8.1.40.0000.00817.35
8.1.30.0000.00817.62
8.1.20.0070.00017.45
8.1.10.0070.00017.49
8.1.00.0000.00817.54
8.0.300.0060.00318.77
8.0.290.0000.00716.75
8.0.280.0070.00018.39
8.0.270.0030.00317.09
8.0.260.0000.00817.07
8.0.250.0040.00416.92
8.0.240.0030.00316.88
8.0.230.0030.00316.91
8.0.220.0000.00716.89
8.0.210.0040.00416.70
8.0.200.0080.00016.79
8.0.190.0080.00316.81
8.0.180.0000.00716.87
8.0.170.0040.00416.80
8.0.160.0000.00716.84
8.0.150.0040.00416.84
8.0.140.0040.00416.68
8.0.130.0070.00013.33
8.0.120.0040.00416.71
8.0.110.0000.00716.74
8.0.100.0080.00016.85
8.0.90.0030.00516.73
8.0.80.0110.00716.79
8.0.70.0070.00016.70
8.0.60.0040.00416.67
8.0.50.0000.00816.73
8.0.30.0090.00916.98
8.0.20.0130.00517.40
8.0.10.0000.00817.03
8.0.00.0110.00616.61
7.4.330.0050.00016.80
7.4.320.0070.00016.55
7.4.300.0030.00316.59
7.4.290.0070.00016.46
7.4.280.0040.00416.57
7.4.270.0000.00816.52
7.4.260.0040.00416.52
7.4.250.0030.00616.43
7.4.240.0040.00416.47
7.4.230.0000.00716.32
7.4.220.0060.01216.41
7.4.210.0030.01716.54
7.4.200.0070.00016.37
7.4.160.0120.00316.49
7.4.150.0100.00717.40
7.4.140.0080.01017.86
7.4.130.0120.01016.40
7.4.120.0070.00916.47
7.4.110.0140.00416.44
7.4.100.0140.00316.30
7.4.90.0070.01016.57
7.4.80.0150.00719.39
7.4.70.0100.00616.29
7.4.60.0040.01816.44
7.4.50.0060.00916.34
7.4.40.0070.01016.51
7.4.30.0090.00616.29
7.4.00.0090.00614.63
7.3.330.0060.00013.09
7.3.320.0040.00413.18
7.3.310.0000.00716.12
7.3.300.0060.00016.23
7.3.290.0110.00616.19
7.3.280.0110.00616.19
7.3.270.0130.01317.40
7.3.260.0070.01016.20
7.3.250.0120.00816.32
7.3.240.0120.00616.42
7.3.230.0060.01216.39
7.3.210.0130.01016.13
7.3.200.0060.01116.54
7.3.190.0080.00716.39
7.3.180.0040.01116.54
7.3.170.0110.00616.46
7.3.160.0060.00916.24
7.2.330.0140.00416.20
7.2.320.0040.01416.41
7.2.310.0080.01516.64
7.2.300.0100.00716.30
7.2.290.0110.00616.21
7.2.60.0030.00616.92
7.2.00.0090.00319.01
7.1.200.0040.00815.55
7.1.100.0030.01317.81
7.1.70.0050.00317.11
7.1.60.0120.01219.19
7.1.50.0110.01116.69
7.1.00.0030.07022.54
7.0.200.0550.01014.40
7.0.60.0270.07021.73
7.0.50.0170.07017.88
7.0.40.0030.04720.24
7.0.30.0230.07720.16
7.0.20.0300.07320.21
7.0.10.0170.04320.14
7.0.00.0170.07020.25
5.6.280.0030.05721.02
5.6.210.0170.07020.71
5.6.200.0100.06718.25
5.6.190.0070.04020.57
5.6.180.0330.07020.67
5.6.170.0300.04720.51
5.6.160.0100.07720.59
5.6.150.0070.07318.27
5.6.140.0030.06718.24
5.6.130.0130.03318.18
5.6.120.0070.08320.99
5.6.110.0070.08720.95
5.6.100.0170.06320.98
5.6.90.0100.07721.10
5.6.80.0030.05320.48
5.5.350.0270.08020.43
5.5.340.0030.03717.98
5.5.330.0170.07720.41
5.5.320.0270.07320.34
5.5.310.0330.06020.34
5.5.300.0130.07717.96
5.5.290.0000.06717.97
5.5.280.0070.05320.68
5.5.270.0170.08020.67
5.5.260.0030.07720.76
5.5.250.0070.06020.46
5.5.240.0030.07720.18

preferences:
60.11 ms | 401 KiB | 5 Q