3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Model { public static function find() { echo static::$name; } } class Product extends Model { protected static $name = 'Product'; } Product::find();

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.00616.61
8.3.50.0080.01122.95
8.3.40.0040.01118.46
8.3.30.0070.00718.45
8.3.20.0000.00720.21
8.3.10.0080.00023.41
8.3.00.0040.00419.60
8.2.180.0150.00318.27
8.2.170.0090.00622.96
8.2.160.0140.00721.19
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00422.24
8.2.120.0040.00426.35
8.2.110.0110.00021.06
8.2.100.0040.00717.93
8.2.90.0040.00419.21
8.2.80.0080.00017.97
8.2.70.0040.00417.63
8.2.60.0000.00817.93
8.2.50.0040.00418.10
8.2.40.0040.00422.27
8.2.30.0040.00421.09
8.2.20.0040.00417.72
8.2.10.0000.00717.88
8.2.00.0000.00818.05
8.1.280.0090.00925.92
8.1.270.0000.00823.91
8.1.260.0080.00028.09
8.1.250.0040.00428.09
8.1.240.0090.00021.36
8.1.230.0030.00919.54
8.1.220.0030.00617.74
8.1.210.0090.00018.77
8.1.200.0060.00317.22
8.1.190.0000.00817.00
8.1.180.0000.00718.10
8.1.170.0030.00518.36
8.1.160.0000.00722.17
8.1.150.0000.00718.72
8.1.140.0040.00419.43
8.1.130.0020.00517.56
8.1.120.0040.00417.39
8.1.110.0000.00717.32
8.1.100.0040.00417.23
8.1.90.0050.00517.21
8.1.80.0050.00217.31
8.1.70.0000.00717.25
8.1.60.0080.00017.48
8.1.50.0040.00417.45
8.1.40.0040.00417.49
8.1.30.0030.00617.60
8.1.20.0030.00617.64
8.1.10.0020.00517.39
8.1.00.0100.00017.38
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0000.00718.54
8.0.270.0000.00717.24
8.0.260.0060.00017.29
8.0.250.0070.00016.99
8.0.240.0000.00716.91
8.0.230.0030.00316.75
8.0.220.0030.00316.85
8.0.210.0000.00716.80
8.0.200.0040.00416.89
8.0.190.0050.00316.85
8.0.180.0070.00016.88
8.0.170.0000.00816.86
8.0.160.0070.00016.89
8.0.150.0030.00516.73
8.0.140.0070.00016.71
8.0.130.0030.00313.19
8.0.120.0030.00516.74
8.0.110.0030.00716.77
8.0.100.0000.00716.73
8.0.90.0000.01016.63
8.0.80.0080.00716.75
8.0.70.0050.00216.73
8.0.60.0040.00416.68
8.0.50.0000.00816.62
8.0.30.0100.00816.73
8.0.20.0120.01017.40
8.0.10.0040.00416.67
8.0.00.0040.01516.61
7.4.330.0000.00615.08
7.4.320.0030.00316.35
7.4.300.0030.00316.53
7.4.290.0030.00316.52
7.4.280.0020.00916.51
7.4.270.0070.00016.45
7.4.260.0030.00316.38
7.4.250.0050.00316.38
7.4.240.0050.00316.46
7.4.230.0030.00316.24
7.4.220.0070.01116.50
7.4.210.0150.00016.35
7.4.200.0030.00316.55
7.4.160.0090.00616.55
7.4.150.0110.00517.40
7.4.140.0080.01117.86
7.4.130.0050.01516.37
7.4.120.0120.00616.46
7.4.110.0110.00916.47
7.4.100.0110.01016.58
7.4.90.0100.00716.23
7.4.80.0170.00019.39
7.4.70.0080.00816.36
7.4.60.0070.01116.40
7.4.50.0130.00316.24
7.4.40.0060.00916.39
7.4.30.0070.01016.38
7.4.00.0100.00314.95
7.3.330.0020.00213.36
7.3.320.0000.00513.07
7.3.310.0030.00316.14
7.3.300.0030.00316.30
7.3.290.0050.00916.28
7.3.280.0070.00916.28
7.3.270.0060.01217.40
7.3.260.0100.01016.38
7.3.250.0120.01016.25
7.3.240.0120.00916.28
7.3.230.0120.00616.52
7.3.210.0070.01016.53
7.3.200.0040.01316.25
7.3.190.0100.00616.50
7.3.180.0070.01016.16
7.3.170.0060.01316.56
7.3.160.0060.01416.24
7.3.40.0090.00314.60
7.2.330.0080.00816.31
7.2.320.0130.00616.41
7.2.310.0030.01216.68
7.2.300.0170.00616.35
7.2.290.0100.00616.61
7.2.60.0060.00616.61
7.1.200.0030.00615.33
7.1.70.0000.00717.16
7.1.60.0000.01117.22
7.1.50.0040.00716.89
7.1.40.0030.00916.34
7.1.30.0040.00716.56
7.1.20.0040.00716.79
7.1.10.0030.00716.48
7.1.00.0000.00916.57
7.0.200.0030.00316.39
7.0.190.0030.00616.67
7.0.180.0090.00016.20
7.0.170.0000.00716.19
7.0.160.0000.00816.26
7.0.150.0040.00416.19
7.0.140.0030.01216.41
7.0.130.0040.00416.55
7.0.120.0000.01116.56
7.0.110.0040.00416.39
7.0.100.0100.00316.42
7.0.90.0000.00716.29
7.0.80.0080.00016.38
7.0.70.0000.00816.34
7.0.60.0000.00916.25
7.0.50.0040.00716.25
7.0.40.0000.00914.78
7.0.30.0000.00914.78
7.0.20.0050.00514.78
7.0.10.0070.00314.78
7.0.00.0030.00514.78
5.6.300.0000.04520.88
5.6.290.0030.04320.84
5.6.280.0060.03920.91
5.6.270.0070.04321.08
5.6.260.0100.06320.91
5.6.250.0100.04020.84
5.6.240.0030.05120.98
5.6.230.0000.04620.89
5.6.220.0030.04320.95
5.6.210.0090.03520.64
5.6.200.0030.08820.75
5.6.190.0070.05121.05
5.6.180.0000.04520.95
5.6.170.0060.04220.79
5.6.160.0070.08320.94
5.6.150.0030.05721.03
5.6.140.0030.05920.85
5.6.130.0030.05220.88
5.6.120.0070.04220.73
5.6.110.0000.05020.82
5.6.100.0070.04320.98
5.6.90.0100.03720.84
5.6.80.0130.03220.15
5.6.70.0030.04220.36
5.6.60.0030.06220.16
5.6.50.0030.08020.22
5.6.40.0030.03920.19
5.6.30.0100.05620.35
5.6.20.0030.04820.29
5.6.10.0030.03820.34
5.6.00.0000.05020.29

preferences:
54.85 ms | 401 KiB | 5 Q