3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Performance { private static $measurements = []; public static function createMeasurement() { // ... } } class yoMama extends Performance{ public static function getThatTestShit(){ return self::$measurements; } } print_r( yoMama::getThatTestShit() );

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.0090.00616.63
8.3.50.0150.00722.05
8.3.40.0110.00318.98
8.3.30.0000.01418.88
8.3.20.0070.00020.16
8.3.10.0000.00820.41
8.3.00.0040.00423.65
8.2.180.0070.01416.75
8.2.170.0100.00722.96
8.2.160.0090.00621.98
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00420.92
8.2.110.0000.00819.21
8.2.100.0080.00418.04
8.2.90.0000.00819.22
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0000.00817.68
8.2.50.0000.00818.09
8.2.40.0000.00822.26
8.2.30.0040.00419.48
8.2.20.0040.00417.66
8.2.10.0040.00417.98
8.2.00.0030.00618.03
8.1.280.0140.00025.92
8.1.270.0060.00922.14
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0080.00022.51
8.1.230.0060.00617.64
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0050.00517.25
8.1.190.0000.00916.86
8.1.180.0040.00418.10
8.1.170.0030.00518.54
8.1.160.0000.00720.65
8.1.150.0000.00718.66
8.1.140.0030.00519.38
8.1.130.0000.00717.59
8.1.120.0070.00017.30
8.1.110.0070.00017.29
8.1.100.0050.00217.30
8.1.90.0030.00517.39
8.1.80.0000.00717.39
8.1.70.0070.00017.33
8.1.60.0030.00617.53
8.1.50.0000.00817.50
8.1.40.0020.00517.38
8.1.30.0050.00317.42
8.1.20.0000.00717.50
8.1.10.0060.00317.40
8.1.00.0000.00717.47
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0070.00018.30
8.0.270.0000.00717.13
8.0.260.0030.00317.15
8.0.250.0070.00017.00
8.0.240.0070.00016.92
8.0.230.0000.00716.82
8.0.220.0050.00316.87
8.0.210.0030.00316.89
8.0.200.0000.00616.94
8.0.190.0050.00216.97
8.0.180.0060.00316.91
8.0.170.0040.00416.87
8.0.160.0030.00316.90
8.0.150.0070.00016.71
8.0.140.0000.00816.91
8.0.130.0000.00613.33
8.0.120.0040.00416.90
8.0.110.0040.00416.92
8.0.100.0080.00016.86
8.0.90.0000.00816.93
8.0.80.0040.01316.88
8.0.70.0050.00316.80
8.0.60.0030.00516.88
8.0.50.0070.00016.77
8.0.30.0070.01217.03
8.0.20.0110.00817.40
8.0.10.0040.00416.77
8.0.00.0110.00816.79
7.4.330.0050.00016.87
7.4.320.0000.00616.48
7.4.300.0030.00316.36
7.4.290.0070.00016.45
7.4.280.0040.00416.58
7.4.270.0030.00716.53
7.4.260.0030.00316.32
7.4.250.0000.00716.30
7.4.240.0040.00316.44
7.4.230.0030.00316.38
7.4.220.0000.01716.39
7.4.210.0180.00316.50
7.4.200.0030.00516.54
7.4.160.0130.00316.52
7.4.150.0140.00417.40
7.4.140.0110.00817.86
7.4.130.0100.00816.46
7.4.120.0120.00816.50
7.4.110.0220.00016.57
7.4.100.0060.01116.36
7.4.90.0110.00616.36
7.4.80.0100.00719.39
7.4.70.0190.00316.32
7.4.60.0030.01316.45
7.4.50.0070.01016.54
7.4.40.0100.00716.64
7.4.30.0070.01016.54
7.4.00.0070.00714.67
7.3.330.0030.00313.15
7.3.320.0060.00013.34
7.3.310.0080.00016.16
7.3.300.0040.00416.24
7.3.290.0060.00916.32
7.3.280.0110.00716.37
7.3.270.0200.00417.40
7.3.260.0130.01016.54
7.3.250.0070.01116.53
7.3.240.0040.01216.46
7.3.230.0130.00316.39
7.3.210.0090.00616.34
7.3.200.0130.01019.39
7.3.190.0100.01016.36
7.3.180.0060.01116.34
7.3.170.0130.00316.28
7.3.160.0060.00916.41
7.2.330.0120.00816.70
7.2.320.0060.01216.58
7.2.310.0100.01316.69
7.2.300.0160.00416.66
7.2.290.0000.01716.61
7.2.60.0000.01216.91
7.2.00.0060.00319.09
7.1.200.0060.00615.68
7.1.70.0050.00217.07
7.1.60.0030.00917.13
7.1.50.0150.02234.39
7.1.00.0070.07322.44
7.0.200.0060.01016.46
7.0.60.0200.04021.76
7.0.50.0200.07017.85
7.0.40.0030.06020.04
7.0.30.0270.03720.11
7.0.20.0170.05020.15
7.0.10.0030.04720.16
7.0.00.0030.05320.09
5.6.280.0030.07021.11
5.6.210.0000.06320.61
5.6.200.0100.05318.23
5.6.190.0230.07720.42
5.6.180.0270.06320.46
5.6.170.0070.04020.58
5.6.160.0070.04020.46
5.6.150.0030.04318.14
5.6.140.0130.07318.15
5.6.130.0000.04318.17
5.6.120.0070.05321.00
5.6.110.0100.05020.99
5.6.100.0130.07021.13
5.6.90.0070.08721.13
5.6.80.0130.07320.29
5.5.350.0170.06020.39
5.5.340.0070.07718.04
5.5.330.0100.07320.40
5.5.320.0670.06020.38
5.5.310.0270.07020.30
5.5.300.0000.04318.01
5.5.290.0200.07017.96
5.5.280.0100.07720.77
5.5.270.0070.05720.68
5.5.260.0030.09320.89
5.5.250.0030.05320.50
5.5.240.0200.03320.19

preferences:
33.13 ms | 401 KiB | 5 Q