3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { function foo() { echo static::class; } } class B extends A { function foo() { parent::foo(); } } (new B())->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.56
8.3.50.0140.00316.48
8.3.40.0110.00418.85
8.3.30.0030.01318.42
8.3.20.0050.00320.21
8.3.10.0040.00421.78
8.3.00.0040.00419.13
8.2.180.0120.00316.32
8.2.170.0090.00622.96
8.2.160.0170.00322.13
8.2.150.0000.00824.18
8.2.140.0070.00024.66
8.2.130.0040.00422.20
8.2.120.0050.00326.35
8.2.110.0070.00422.30
8.2.100.0080.00617.60
8.2.90.0040.00418.09
8.2.80.0030.00617.97
8.2.70.0040.00417.63
8.2.60.0040.00417.80
8.2.50.0050.00318.22
8.2.40.0000.00720.42
8.2.30.0000.00719.19
8.2.20.0000.00817.98
8.2.10.0070.00017.90
8.2.00.0070.00017.99
8.1.280.0120.00325.92
8.1.270.0080.00019.70
8.1.260.0050.00226.35
8.1.250.0040.00428.09
8.1.240.0080.00023.88
8.1.230.0090.00322.67
8.1.220.0080.00017.74
8.1.210.0030.00518.77
8.1.200.0050.00517.22
8.1.190.0030.00616.98
8.1.180.0000.00818.10
8.1.170.0040.00418.48
8.1.160.0050.00318.75
8.1.150.0070.00020.21
8.1.140.0080.00017.48
8.1.130.0030.00318.71
8.1.120.0000.00917.23
8.1.110.0060.00317.22
8.1.100.0040.00417.21
8.1.90.0080.00017.32
8.1.80.0000.00717.34
8.1.70.0070.00317.36
8.1.60.0080.00017.40
8.1.50.0060.00617.46
8.1.40.0000.00717.47
8.1.30.0080.00017.49
8.1.20.0000.00817.57
8.1.10.0050.00217.45
8.1.00.0030.00617.45
8.0.300.0070.00021.96
8.0.290.0040.00416.75
8.0.280.0000.00718.42
8.0.270.0070.00016.71
8.0.260.0000.00619.06
8.0.250.0070.00016.94
8.0.240.0030.00716.84
8.0.230.0000.00716.74
8.0.220.0000.00816.82
8.0.210.0000.00716.70
8.0.200.0000.00616.77
8.0.190.0030.00516.77
8.0.180.0070.00016.84
8.0.170.0000.01016.84
8.0.160.0040.00416.91
8.0.150.0030.00616.63
8.0.140.0000.00716.75
8.0.130.0030.00313.21
8.0.120.0040.00416.67
8.0.110.0000.00716.73
8.0.100.0040.00416.64
8.0.90.0000.00716.61
8.0.80.0040.01116.73
8.0.70.0030.00516.64
8.0.60.0000.00816.86
8.0.50.0070.00016.64
8.0.30.0110.00617.03
8.0.20.0140.00717.40
8.0.10.0020.00516.73
8.0.00.0110.01116.66
7.4.330.0060.00015.55
7.4.320.0000.00616.36
7.4.300.0060.00016.50
7.4.290.0030.00616.38
7.4.280.0030.00316.57
7.4.270.0070.00016.57
7.4.260.0030.00316.59
7.4.250.0030.00516.38
7.4.240.0000.00716.63
7.4.230.0000.00716.38
7.4.220.0040.00516.26
7.4.210.0070.00716.55
7.4.200.0050.00216.62
7.4.160.0090.00816.43
7.4.150.0060.01217.40
7.4.140.0110.00817.86
7.4.130.0040.01416.45
7.4.120.0120.01016.36
7.4.110.0100.00716.43
7.4.100.0090.00616.63
7.4.90.0090.00916.43
7.4.80.0030.01319.39
7.4.70.0140.00616.52
7.4.60.0030.01216.54
7.4.50.0140.00416.40
7.4.40.0000.01616.38
7.4.00.0060.00915.10
7.3.330.0020.00213.24
7.3.320.0050.00013.27
7.3.310.0070.00016.27
7.3.300.0060.00016.07
7.3.290.0080.00616.26
7.3.280.0080.01016.21
7.3.270.0140.00917.40
7.3.260.0100.01016.23
7.3.250.0110.00616.31
7.3.240.0120.00716.38
7.3.230.0080.00816.52
7.3.210.0110.00616.28
7.3.200.0130.00316.31
7.3.190.0100.00516.26
7.3.180.0060.00916.56
7.3.170.0110.01116.38
7.3.160.0120.00316.43
7.2.330.0080.00816.64
7.2.320.0120.00616.76
7.2.310.0100.00716.74
7.2.300.0040.01216.57
7.2.290.0060.00916.66
7.2.60.0070.00716.46
7.2.30.1410.01217.79
7.2.20.0170.01117.64
7.2.10.0150.01217.54
7.2.00.0160.01017.63
7.1.200.0000.00715.36
7.1.150.0140.01016.55
7.1.140.0140.01116.49
7.1.130.0230.01116.48
7.1.120.0180.01016.45
7.1.110.0150.01216.19
7.1.100.0140.01115.89
7.1.90.0150.01116.02
7.1.80.0140.01015.87
7.1.70.0140.00815.23
7.1.60.0320.01133.11
7.1.50.0340.01432.93
7.1.40.0260.01932.41
7.1.30.0280.01732.57
7.1.20.0510.01232.61
7.1.10.0200.01014.47
7.1.00.0250.01014.66

preferences:
58.73 ms | 401 KiB | 5 Q