3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function __construct() { echo "Construct of A is called"; } } class B extends A {} new B();

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.70.0000.01518.11
8.3.60.0070.00718.43
8.3.50.0100.00919.07
8.3.40.0070.00718.58
8.3.30.0080.00618.73
8.3.20.0040.00420.64
8.3.10.0040.00423.61
8.3.00.0070.00020.49
8.2.190.0110.00416.58
8.2.180.0180.00416.34
8.2.170.0070.01022.96
8.2.160.0090.00920.36
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00317.91
8.2.120.0070.00026.35
8.2.110.0030.00720.47
8.2.100.0050.00517.78
8.2.90.0070.00020.54
8.2.80.0040.00417.97
8.2.70.0040.00417.91
8.2.60.0040.00417.97
8.2.50.0000.00818.10
8.2.40.0000.00719.36
8.2.30.0040.00422.48
8.2.20.0000.00718.03
8.2.10.0000.00819.11
8.2.00.0040.00417.98
8.1.280.0090.00625.92
8.1.270.0070.00022.01
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0070.00323.75
8.1.230.0110.00020.68
8.1.220.0040.00417.74
8.1.210.0040.00419.08
8.1.200.0060.00317.10
8.1.190.0030.00517.11
8.1.180.0040.00418.10
8.1.170.0040.00418.33
8.1.160.0040.00418.74
8.1.150.0040.00418.60
8.1.140.0070.00018.93
8.1.130.0030.00320.13
8.1.120.0000.00917.34
8.1.110.0000.00717.32
8.1.100.0030.00517.31
8.1.90.0050.00317.36
8.1.80.0000.00717.30
8.1.70.0030.00317.38
8.1.60.0040.00417.39
8.1.50.0020.00517.34
8.1.40.0000.00817.43
8.1.30.0040.00417.62
8.1.20.0020.00517.53
8.1.10.0000.00817.46
8.1.00.0030.00517.46
8.0.300.0050.00320.04
8.0.290.0050.00316.75
8.0.280.0070.00018.38
8.0.270.0030.00317.12
8.0.260.0030.00318.29
8.0.250.0000.00716.89
8.0.240.0080.00016.84
8.0.230.0030.00316.75
8.0.220.0030.00316.65
8.0.210.0030.00416.65
8.0.200.0040.00416.80
8.0.190.0000.00816.67
8.0.180.0050.00216.82
8.0.170.0070.00316.75
8.0.160.0040.00416.77
8.0.150.0070.00016.54
8.0.140.0000.00716.60
8.0.130.0000.00613.14
8.0.120.0070.00016.75
8.0.110.0070.00016.76
8.0.100.0040.00416.82
8.0.90.0040.00416.82
8.0.80.0060.00916.80
8.0.70.0040.00416.63
8.0.60.0000.00716.66
8.0.50.0070.00016.82
8.0.30.0090.00616.94
8.0.20.0110.01117.13
8.0.10.0040.00416.88
8.0.00.0110.00816.56
7.4.330.0050.00016.79
7.4.320.0030.00316.44
7.4.300.0000.00616.38
7.4.290.0000.00716.42
7.4.280.0050.00316.52
7.4.270.0000.00716.45
7.4.260.0070.00016.53
7.4.250.0030.00316.41
7.4.240.0030.00316.50
7.4.230.0000.00716.51
7.4.220.0080.00016.27
7.4.210.0080.00816.53
7.4.200.0030.00316.18
7.4.160.0080.00916.42
7.4.140.0140.00417.86
7.4.130.0130.01016.50
7.4.120.0070.01016.52
7.4.110.0090.00916.45
7.4.100.0130.00316.50
7.4.90.0070.01016.36
7.4.80.0060.01119.39
7.4.70.0040.00616.38
7.4.60.0110.00516.32
7.4.50.0000.01516.27
7.4.40.0060.01516.40
7.4.00.0070.00914.84
7.3.330.0050.00013.19
7.3.320.0000.00613.22
7.3.310.0030.00316.04
7.3.300.0000.00716.28
7.3.290.0080.00016.11
7.3.280.0090.00816.21
7.3.260.0090.00916.21
7.3.240.0110.00916.46
7.3.230.0090.00916.56
7.3.210.0220.00616.21
7.3.200.0060.01016.56
7.3.190.0080.00816.48
7.3.180.0110.01116.55
7.3.170.0070.01016.20
7.3.160.0080.00816.38
7.3.120.0070.01014.75
7.3.110.0070.01014.37
7.3.100.0090.00914.93
7.3.90.0040.00814.77
7.3.80.0040.01114.61
7.3.70.0030.01014.67
7.3.60.0040.00714.79
7.3.50.0090.00314.62
7.3.40.0050.00814.63
7.3.30.0070.00314.81
7.3.20.0070.00716.38
7.3.10.0050.00916.55
7.3.00.0080.00516.35
7.2.330.0090.00916.63
7.2.320.0130.00616.68
7.2.310.0070.01016.68
7.2.300.0030.01316.43
7.2.290.0030.01316.71
7.2.250.0060.01315.02
7.2.240.0060.00914.86
7.2.230.0100.00014.68
7.2.220.0080.00315.04
7.2.210.0070.00715.23
7.2.200.0060.01015.03
7.2.190.0120.00415.00
7.2.180.0100.00314.73
7.2.170.0040.00914.83
7.2.160.0100.00314.72
7.2.150.0120.00016.52
7.2.140.0070.00516.77
7.2.130.0070.00416.28
7.2.120.0110.00616.72
7.2.110.0040.00916.70
7.2.100.0100.00316.85
7.2.90.0080.00516.66
7.2.80.0030.01016.55
7.2.70.0080.00816.64
7.2.60.0100.00016.79
7.2.50.0130.00616.53
7.2.40.0100.01016.74
7.2.30.0120.00016.71
7.2.20.0180.00616.73
7.2.10.0030.00716.54
7.2.00.0070.01816.96
7.1.330.0090.00615.63
7.1.320.0040.00815.40
7.1.310.0000.00815.47
7.1.300.0130.00015.53
7.1.290.0040.00915.59
7.1.280.0040.00915.62
7.1.270.0110.00715.64
7.1.260.0050.00715.61
7.1.250.0120.01215.59

preferences:
42.24 ms | 401 KiB | 5 Q