3v4l.org

run code in 300+ PHP versions simultaneously
<?php class HttpStatus { public static $abc = 'abc'; public static $def = 'def'; } $abd = 'abc'; $def = 'def'; echo HttpStatus::$abc; echo HttpStatus::${'ABC'};

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.00616.63
8.3.50.0120.00521.27
8.3.40.0150.00418.83
8.3.30.0040.01118.84
8.3.20.0060.00320.09
8.3.10.0060.00321.85
8.3.00.0050.00321.73
8.2.180.0080.00618.45
8.2.170.0170.00022.96
8.2.160.0070.00720.46
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0080.00020.69
8.2.120.0040.00426.35
8.2.110.0030.00619.19
8.2.100.0120.00017.91
8.2.90.0080.00019.22
8.2.80.0030.00517.97
8.2.70.0000.01017.63
8.2.60.0040.00417.93
8.2.50.0060.00618.09
8.2.40.0000.00822.19
8.2.30.0000.00719.36
8.2.20.0040.00717.75
8.2.10.0070.00017.96
8.2.00.0060.00318.05
8.1.280.0070.00725.92
8.1.270.0070.00322.11
8.1.260.0040.00428.09
8.1.250.0080.00028.09
8.1.240.0060.00322.09
8.1.230.0090.00317.82
8.1.220.0000.00817.74
8.1.210.0000.00918.77
8.1.200.0000.00917.13
8.1.190.0000.00817.22
8.1.180.0040.00418.10
8.1.170.0040.00418.45
8.1.160.0000.00720.70
8.1.150.0040.00419.06
8.1.140.0000.00819.50
8.1.130.0000.00817.60
8.1.120.0000.00717.40
8.1.110.0000.00717.43
8.1.100.0000.00817.40
8.1.90.0080.00017.30
8.1.80.0050.00317.38
8.1.70.0000.00717.36
8.1.60.0000.00717.41
8.1.50.0040.00417.40
8.1.40.0040.00417.50
8.1.30.0030.00617.70
8.1.20.0040.00417.58
8.1.10.0060.00317.57
8.1.00.0000.00817.51
8.0.300.0090.00018.77
8.0.290.0000.00816.75
8.0.280.0000.00818.47
8.0.270.0030.00317.25
8.0.260.0000.00617.31
8.0.250.0060.00017.09
8.0.240.0060.00017.12
8.0.230.0030.00316.84
8.0.220.0060.00316.97
8.0.210.0000.00716.85
8.0.200.0060.00016.96
8.0.190.0030.00516.96
8.0.180.0000.00816.88
8.0.170.0000.01216.91
8.0.160.0040.00416.98
8.0.150.0050.00316.77
8.0.140.0070.00016.83
8.0.130.0000.00513.28
8.0.120.0000.00816.82
8.0.110.0000.00716.91
8.0.100.0000.00716.85
8.0.90.0080.00016.75
8.0.80.0070.00716.86
8.0.70.0070.00017.00
8.0.60.0000.00816.71
8.0.50.0030.00517.02
8.0.30.0130.00517.13
8.0.20.0080.01217.40
8.0.10.0040.00416.86
8.0.00.0110.00816.72
7.4.330.0000.00516.76
7.4.320.0000.00616.48
7.4.300.0030.00316.43
7.4.290.0070.00016.49
7.4.280.0070.00016.40
7.4.270.0030.00316.63
7.4.260.0030.00316.38
7.4.250.0000.00716.47
7.4.240.0000.00816.57
7.4.230.0030.00316.41
7.4.220.0150.00316.59
7.4.210.0080.00616.58
7.4.200.0030.00316.48
7.4.160.0090.00616.58
7.4.150.0120.00617.40
7.4.140.0090.01117.86
7.4.130.0050.01316.52
7.4.120.0140.00616.50
7.4.110.0120.00616.32
7.4.100.0070.01116.63
7.4.90.0110.00716.56
7.4.80.0150.00419.39
7.4.70.0130.00316.52
7.4.60.0030.01416.57
7.4.50.0090.00916.39
7.4.40.0120.00316.36
7.4.30.0140.00616.35
7.4.00.0080.00914.78
7.3.330.0000.00613.29
7.3.320.0050.00013.36
7.3.310.0020.00516.30
7.3.300.0030.00316.34
7.3.290.0070.00016.18
7.3.280.0030.01316.28
7.3.270.0060.01317.40
7.3.260.0190.00316.65
7.3.250.0120.00516.43
7.3.240.0130.00416.46
7.3.230.0150.00316.56
7.3.210.0040.01416.36
7.3.200.0090.01319.39
7.3.190.0220.00016.48
7.3.180.0070.01016.30
7.3.170.0080.01316.37
7.3.160.0040.01816.45
7.3.120.0110.00614.75
7.3.110.0130.00214.78
7.3.100.0070.00714.74
7.3.90.0090.00314.74
7.3.80.0060.00714.74
7.3.70.0030.00714.79
7.3.60.0050.00814.62
7.3.50.0010.01214.82
7.3.40.0060.00814.82
7.3.30.0040.01014.71
7.3.20.0010.01216.72
7.3.10.0030.00916.63
7.3.00.0040.00716.58
7.2.330.0070.01116.35
7.2.320.0110.01116.70
7.2.310.0030.01316.40
7.2.300.0070.01016.42
7.2.290.0070.01016.65
7.2.250.0030.01314.93
7.2.240.0080.01014.96
7.2.230.0020.01215.02
7.2.220.0070.00615.00
7.2.210.0100.00514.96
7.2.200.0060.00714.92
7.2.190.0050.00814.92
7.2.180.0030.01114.96
7.2.170.0070.00814.97
7.2.160.0070.01015.18
7.2.150.0120.00316.96
7.2.140.0000.01316.90
7.2.130.0070.00716.90
7.2.120.0040.01216.68
7.2.110.0000.01816.71
7.2.100.0080.00416.64
7.2.90.0070.00717.02
7.2.80.0030.01016.95
7.2.70.0060.00916.70
7.2.60.0060.01016.86
7.2.50.0070.01017.01
7.2.40.0000.01616.71
7.2.30.0070.01116.69
7.2.20.0040.01216.66
7.2.10.0070.00316.57
7.2.00.0100.00317.85
7.1.330.0070.00815.69
7.1.320.0050.00815.51
7.1.310.0080.00615.52
7.1.300.0030.00715.59
7.1.290.0040.00715.56
7.1.280.0060.00715.58
7.1.270.0040.01015.49
7.1.260.0050.00615.74
7.1.250.0120.00315.65
7.1.200.0030.01015.52
7.1.100.0070.00717.84
7.1.70.0000.00716.71
7.1.60.0060.01819.40
7.1.50.0100.01016.80
7.1.00.0030.07722.30
7.0.200.0450.00714.95
7.0.60.0200.07321.88
7.0.50.0100.05017.93
7.0.40.0070.04720.11
7.0.30.0230.03320.14
7.0.20.0330.06020.15
7.0.10.0000.05320.23
7.0.00.0070.08020.19
5.6.280.0030.05720.86
5.6.210.0100.06020.66
5.6.200.0170.07718.22
5.6.190.0070.05720.57
5.6.180.0230.04320.50
5.6.170.0200.03720.51
5.6.160.0100.09020.48
5.6.150.0000.09018.15
5.6.140.0030.04018.15
5.6.130.0130.08018.14
5.6.120.0130.08321.09
5.6.110.0070.07021.04
5.6.100.0130.06320.94
5.6.90.0100.07721.00
5.6.80.0100.07320.35
5.5.350.0230.07320.43
5.5.340.0100.05718.07
5.5.330.0070.05720.31
5.5.320.0200.07720.31
5.5.310.0270.08020.23
5.5.300.0070.07718.08
5.5.290.0000.05717.97
5.5.280.0030.05020.84
5.5.270.0170.05320.64
5.5.260.0100.08020.88
5.5.250.0030.07320.66
5.5.240.3430.03720.07

preferences:
53.91 ms | 401 KiB | 5 Q