3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Model { public static function create() { return new self(); } } class Product extends Model { } $product = Product::create(); var_dump($product);

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.0120.00916.38
8.3.50.0070.01521.92
8.3.40.0120.00618.54
8.3.30.0110.00718.32
8.3.20.0040.00420.21
8.3.10.0050.00323.69
8.3.00.0080.00019.13
8.2.180.0070.01518.54
8.2.170.0100.01022.96
8.2.160.0120.00320.37
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0030.00620.52
8.2.120.0050.00326.35
8.2.110.0090.00020.51
8.2.100.0090.00317.80
8.2.90.0000.00819.05
8.2.80.0050.00317.97
8.2.70.0030.00617.38
8.2.60.0060.00317.92
8.2.50.0060.00318.07
8.2.40.0000.00919.33
8.2.30.0000.00720.48
8.2.20.0030.00617.65
8.2.10.0040.00417.93
8.2.00.0040.00417.86
8.1.280.0150.00625.92
8.1.270.0080.00023.79
8.1.260.0030.00628.09
8.1.250.0000.00828.09
8.1.240.0030.00622.09
8.1.230.0070.00319.14
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0060.00317.22
8.1.190.0040.00417.64
8.1.180.0000.00918.10
8.1.170.0090.00018.45
8.1.160.0070.00021.94
8.1.150.0040.00418.86
8.1.140.0040.00419.57
8.1.130.0000.00717.62
8.1.120.0000.00717.30
8.1.110.0050.00317.25
8.1.100.0050.00317.30
8.1.90.0000.00717.44
8.1.80.0070.00017.23
8.1.70.0000.00717.32
8.1.60.0030.00617.63
8.1.50.0060.00317.56
8.1.40.0040.00417.56
8.1.30.0030.00617.63
8.1.20.0040.00417.57
8.1.10.0080.00017.50
8.1.00.0050.00317.41
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0070.00018.37
8.0.270.0030.00317.06
8.0.260.0060.00017.07
8.0.250.0000.00616.91
8.0.240.0070.00016.84
8.0.230.0000.00716.87
8.0.220.0050.00216.86
8.0.210.0070.00016.79
8.0.200.0030.00316.91
8.0.190.0000.00816.89
8.0.180.0040.00416.73
8.0.170.0040.00416.86
8.0.160.0000.00816.88
8.0.150.0080.00016.77
8.0.140.0000.00716.77
8.0.130.0000.00613.24
8.0.120.0080.00016.80
8.0.110.0040.00416.83
8.0.100.0050.00216.76
8.0.90.0040.00416.89
8.0.80.0070.00716.84
8.0.70.0080.00016.80
8.0.60.0030.00516.66
8.0.50.0000.00716.67
8.0.30.0070.01017.02
8.0.20.0120.00817.40
8.0.10.0040.00416.84
8.0.00.0110.00916.62
7.4.330.0000.00516.71
7.4.320.0040.00416.45
7.4.300.0040.00416.57
7.4.290.0070.00016.48
7.4.280.0090.00016.59
7.4.270.0000.00716.56
7.4.260.0000.00716.62
7.4.250.0040.00416.49
7.4.240.0060.00116.50
7.4.230.0030.00316.57
7.4.220.0090.01516.57
7.4.210.0120.00616.63
7.4.200.0030.00316.70
7.4.160.0120.00416.39
7.4.150.0060.01217.40
7.4.140.0120.01017.86
7.4.130.0080.01016.39
7.4.120.0080.01116.47
7.4.110.0040.01216.47
7.4.100.0070.01016.32
7.4.90.0090.00916.45
7.4.80.0030.01419.39
7.4.70.0070.01016.33
7.4.60.0060.01216.50
7.4.50.0090.00316.26
7.4.40.0080.00816.50
7.4.30.0030.01316.51
7.4.00.0100.00714.67
7.3.330.0000.00613.05
7.3.320.0030.00313.02
7.3.310.0070.00016.33
7.3.300.0000.00616.08
7.3.290.0050.01016.20
7.3.280.0080.00816.20
7.3.270.0210.00317.40
7.3.260.0130.00316.39
7.3.250.0070.01016.38
7.3.240.0080.00816.25
7.3.230.0070.01016.39
7.3.210.0120.00416.34
7.3.200.0110.01116.20
7.3.190.0080.00816.37
7.3.180.0100.00716.10
7.3.170.0100.00716.38
7.3.160.0100.00616.34
7.2.330.0000.01716.37
7.2.320.0030.01416.31
7.2.310.0070.01016.67
7.2.300.0060.01216.61
7.2.290.0120.00616.74
7.2.60.0040.01116.98
7.2.00.0100.01019.27
7.1.200.0040.01115.70
7.1.100.0030.01018.33
7.1.70.0000.00716.99
7.1.60.0030.00717.26
7.1.50.0060.00617.00
7.1.40.0000.01416.45
7.1.30.0050.00516.46
7.1.20.0090.00316.75
7.1.10.0000.00816.46
7.1.00.0000.00816.80
7.0.200.0000.01016.56
7.0.190.0000.00816.61
7.0.180.0000.00716.51
7.0.170.0000.00716.40
7.0.160.0000.01016.02
7.0.150.0020.00516.39
7.0.140.0000.00816.39
7.0.130.0000.00916.61
7.0.120.0030.00616.55
7.0.110.0030.00616.33
7.0.100.0000.00816.32
7.0.90.0030.00716.20
7.0.80.0040.00416.45
7.0.70.0040.00416.42
7.0.60.0000.00816.18
7.0.50.0000.00816.27
7.0.40.0030.01415.77
7.0.30.0140.00015.77
7.0.20.0000.01015.77
7.0.10.0000.00915.77
7.0.00.0000.00815.77
5.6.300.0070.03620.83
5.6.290.0100.03320.90
5.6.280.0030.04020.90
5.6.270.0070.03620.86
5.6.260.0130.03520.98
5.6.250.0000.04320.86
5.6.240.0030.04020.81
5.6.230.0030.04120.86
5.6.220.0100.03820.84
5.6.210.0070.08320.93
5.6.200.0000.05621.04
5.6.190.0030.04720.84
5.6.180.0000.05020.94
5.6.170.0000.05120.74
5.6.160.0030.07520.99
5.6.150.0070.04121.00
5.6.140.0030.05420.93
5.6.130.0000.05420.91
5.6.120.0060.05220.86
5.6.110.0070.03920.84
5.6.100.0100.04220.81
5.6.90.0030.04220.94
5.6.80.0000.04120.36
5.6.70.0000.04420.17
5.6.60.0070.03620.36
5.6.50.0030.07220.36
5.6.40.0070.03420.30
5.6.30.0070.08420.23
5.6.20.0030.04420.41
5.6.10.0000.04620.36
5.6.00.0030.04620.32
5.5.380.0000.04717.52
5.5.370.0000.04217.63
5.5.360.0060.03817.63
5.5.350.0070.04317.66
5.5.340.0000.04318.18
5.5.330.0060.03818.01
5.5.320.0070.04918.07
5.5.310.0000.04217.96
5.5.300.0030.04418.12
5.5.290.0000.06218.13
5.5.280.0060.03817.68
5.5.270.0100.03918.08
5.5.260.0070.04018.13
5.5.250.0030.03817.93
5.5.240.0070.03317.09
5.5.230.0030.03917.39
5.5.220.0100.03217.11
5.5.210.0000.04617.46
5.5.200.0030.03617.44
5.5.190.0030.07317.47
5.5.180.0310.03717.48
5.5.160.0070.03317.53
5.5.150.0030.03717.20
5.5.140.0030.04017.40
5.5.130.0000.04017.40
5.5.120.0030.04317.47
5.5.110.0000.04617.34
5.5.100.0030.04717.30
5.5.90.0000.04017.26
5.5.80.0030.05317.30
5.5.70.0130.02917.30
5.5.60.0030.03617.34
5.5.50.0030.08517.33
5.5.40.0000.06117.30
5.5.30.0030.03817.32
5.5.20.0000.04017.33
5.5.10.0000.04717.29
5.5.00.0030.04717.23

preferences:
22.82 ms | 401 KiB | 5 Q