3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo {} class Bar extends Foo {} function omg(Foo $foo) { } omg(new Bar);

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.0130.00716.75
8.3.50.0140.00316.50
8.3.40.0030.01318.89
8.3.30.0110.00318.52
8.3.20.0050.00320.73
8.3.10.0050.00321.65
8.3.00.0000.00819.41
8.2.180.0130.00718.29
8.2.170.0110.00422.96
8.2.160.0030.01020.36
8.2.150.0040.00425.66
8.2.140.0090.00024.66
8.2.130.0000.00720.51
8.2.120.0040.00426.35
8.2.110.0000.00920.52
8.2.100.0040.00817.59
8.2.90.0040.00419.09
8.2.80.0080.00017.97
8.2.70.0040.00817.50
8.2.60.0040.00417.66
8.2.50.0040.00418.10
8.2.40.0080.00022.36
8.2.30.0000.00720.82
8.2.20.0020.00517.86
8.2.10.0040.00417.92
8.2.00.0000.00817.79
8.1.280.0180.00425.92
8.1.270.0000.00723.97
8.1.260.0050.00226.35
8.1.250.0050.00328.09
8.1.240.0000.00922.61
8.1.230.0110.00019.15
8.1.220.0090.00017.74
8.1.210.0040.00418.77
8.1.200.0040.00417.22
8.1.190.0000.00817.10
8.1.180.0030.00518.10
8.1.170.0050.00318.47
8.1.160.0070.00018.85
8.1.150.0000.00720.55
8.1.140.0040.00419.49
8.1.130.0050.00518.76
8.1.120.0000.00717.34
8.1.110.0000.00817.32
8.1.100.0070.00017.23
8.1.90.0000.00717.26
8.1.80.0030.00317.34
8.1.70.0050.00317.18
8.1.60.0030.00617.54
8.1.50.0000.00717.38
8.1.40.0060.00317.36
8.1.30.0030.00517.59
8.1.20.0000.00817.54
8.1.10.0070.00017.47
8.1.00.0040.00417.39
8.0.300.0050.00218.77
8.0.290.0040.00416.58
8.0.280.0000.00718.41
8.0.270.0050.00317.23
8.0.260.0030.00316.79
8.0.250.0030.00316.82
8.0.240.0070.00016.85
8.0.230.0000.00716.77
8.0.220.0000.00616.71
8.0.210.0000.00716.71
8.0.200.0000.00716.85
8.0.190.0050.00316.84
8.0.180.0050.00216.88
8.0.170.0030.00716.84
8.0.160.0000.00816.72
8.0.150.0080.00016.71
8.0.140.0060.00616.77
8.0.130.0030.00313.25
8.0.120.0000.00716.76
8.0.110.0000.00716.75
8.0.100.0040.00416.85
8.0.90.0070.00016.84
8.0.80.0040.01216.77
8.0.70.0000.00716.67
8.0.60.0050.00316.93
8.0.50.0040.00416.93
8.0.30.0120.00516.94
8.0.20.0120.00717.40
8.0.10.0040.00416.96
8.0.00.0140.00416.59
7.4.330.0020.00215.55
7.4.320.0030.00316.38
7.4.300.0030.00316.41
7.4.290.0030.00816.35
7.4.280.0000.00816.43
7.4.270.0000.00616.45
7.4.260.0000.00513.21
7.4.250.0030.00516.48
7.4.240.0000.00716.33
7.4.230.0030.00616.53
7.4.220.0060.01116.51
7.4.210.0090.00516.38
7.4.200.0030.00316.43
7.4.160.0120.00316.52
7.4.150.0100.01017.40
7.4.140.0090.01417.86
7.4.130.0130.00716.59
7.4.120.0110.00716.47
7.4.110.0070.01216.48
7.4.100.0100.00716.31
7.4.90.0100.01016.23
7.4.80.0130.00419.39
7.4.70.0080.00816.45
7.4.60.0080.01016.44
7.4.50.0030.01316.34
7.4.40.0080.00816.22
7.4.30.0100.00616.48
7.4.00.0130.00314.81
7.3.330.0000.00813.19
7.3.320.0060.00013.11
7.3.310.0030.00316.27
7.3.300.0030.00316.25
7.3.290.0030.00316.29
7.3.280.0070.00816.19
7.3.270.0070.01117.40
7.3.260.0060.01016.26
7.3.250.0110.01016.32
7.3.240.0080.00816.30
7.3.230.0050.01416.31
7.3.210.0000.01616.43
7.3.200.0060.00916.26
7.3.190.0080.00816.54
7.3.180.0090.00916.15
7.3.170.0060.01516.23
7.3.160.0080.00816.52
7.3.120.0030.01314.72
7.3.110.0000.01714.89
7.3.100.0110.00814.85
7.3.90.0070.01114.66
7.3.80.0080.00814.48
7.3.70.0040.00414.78
7.3.60.0060.00814.75
7.3.50.0080.00814.75
7.3.40.0000.00914.88
7.3.30.0070.00714.55
7.3.20.0040.01216.33
7.3.10.0110.00616.59
7.3.00.0030.00616.36
7.2.330.0170.00016.55
7.2.320.0160.00016.59
7.2.310.0100.00716.59
7.2.300.0080.00816.60
7.2.290.0120.00516.45
7.2.250.0070.01314.93
7.2.240.0070.00714.84
7.2.230.0130.00715.07
7.2.220.0100.00014.66
7.2.210.0090.00615.11
7.2.200.0030.00614.96
7.2.190.0120.00314.82
7.2.180.0080.00614.76
7.2.170.0030.00614.86
7.2.00.0070.00719.34
7.1.330.0030.01015.75
7.1.320.0100.00315.36
7.1.310.0140.00015.84
7.1.300.0060.00315.52
7.1.290.0080.00615.77
7.1.280.0030.00615.58
7.1.270.0090.00615.66
7.1.260.0080.00415.80
7.1.100.0060.00617.73
7.1.70.0030.01017.07
7.1.60.3930.01033.27
7.1.50.3770.01332.67
7.1.40.1170.02332.23
7.1.30.0270.01732.27
7.1.20.3800.02032.57
7.1.10.1770.01014.50
7.1.00.2100.00714.54
7.0.200.5000.01014.80
7.0.190.4300.01314.83
7.0.180.1100.01314.12
7.0.170.0170.00714.53
7.0.160.4470.01014.29
7.0.150.1300.01314.51
7.0.140.1870.01314.44
7.0.130.2200.01314.47
7.0.120.1930.00714.54
7.0.110.1900.01714.15
7.0.100.1430.01014.42
7.0.90.1530.01014.31
7.0.80.1870.01014.23
7.0.70.1200.01014.23
7.0.60.1430.01314.04
7.0.50.1130.01014.42
7.0.40.1830.00714.54
7.0.30.1900.00714.52
7.0.20.1800.01014.46
7.0.10.1200.01314.48
7.0.00.1370.01014.36

preferences:
38.56 ms | 400 KiB | 5 Q