3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a { public static $NNN = array(1); public static $d = 1; public static $b = self::d; } $x = 'N'; print_r(a::${'NN'.$x});

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.0100.01016.75
8.3.50.0160.00621.92
8.3.40.0070.00718.84
8.3.30.0120.00318.80
8.3.20.0040.00420.16
8.3.10.0040.00423.64
8.3.00.0080.00019.25
8.2.180.0180.00016.75
8.2.170.0070.00722.96
8.2.160.0100.00320.47
8.2.150.0050.00324.18
8.2.140.0030.00724.66
8.2.130.0040.00417.50
8.2.120.0040.00426.35
8.2.110.0060.00322.25
8.2.100.0080.00418.03
8.2.90.0040.00419.17
8.2.80.0040.00417.97
8.2.70.0000.00817.63
8.2.60.0040.00417.92
8.2.50.0040.00418.07
8.2.40.0050.00519.36
8.2.30.0000.00720.68
8.2.20.0070.00317.61
8.2.10.0000.00718.04
8.2.00.0040.00418.08
8.1.280.0160.00625.92
8.1.270.0050.00523.84
8.1.260.0000.00728.09
8.1.250.0040.00428.09
8.1.240.0030.00622.02
8.1.230.0060.00619.05
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0060.00317.25
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0040.00418.48
8.1.160.0040.00422.03
8.1.150.0080.00018.72
8.1.140.0040.00419.49
8.1.130.0080.00017.67
8.1.120.0040.00417.39
8.1.110.0000.00717.35
8.1.100.0040.00417.34
8.1.90.0070.00017.27
8.1.80.0040.00417.24
8.1.70.0050.00217.39
8.1.60.0040.00817.50
8.1.50.0040.00417.57
8.1.40.0000.00817.35
8.1.30.0060.00617.49
8.1.20.0000.00717.56
8.1.10.0000.00817.48
8.1.00.0000.00717.38
8.0.300.0000.00718.77
8.0.290.0000.00716.75
8.0.280.0030.00318.34
8.0.270.0000.00717.29
8.0.260.0000.00917.26
8.0.250.0030.00316.94
8.0.240.0000.00817.00
8.0.230.0030.00316.93
8.0.220.0040.00416.98
8.0.210.0040.00416.95
8.0.200.0040.00416.99
8.0.190.0060.00316.92
8.0.180.0040.00416.97
8.0.170.0040.00416.95
8.0.160.0000.00716.83
8.0.150.0040.00416.84
8.0.140.0000.00716.79
8.0.130.0000.00613.41
8.0.120.0000.00816.86
8.0.110.0000.00716.93
8.0.100.0070.00016.81
8.0.90.0070.00016.78
8.0.80.0070.01116.76
8.0.70.0030.00516.90
8.0.60.0000.00816.77
8.0.50.0040.00416.86
8.0.30.0070.01317.09
8.0.20.0100.00917.40
8.0.10.0050.00317.07
8.0.00.0110.00816.73
7.4.330.0030.00315.08
7.4.320.0000.00616.43
7.4.300.0060.00016.64
7.4.290.0050.00216.39
7.4.280.0090.00016.33
7.4.270.0070.00016.43
7.4.260.0030.00316.45
7.4.250.0070.00016.45
7.4.240.0030.00516.51
7.4.230.0070.00016.52
7.4.220.0180.00616.62
7.4.210.0030.01416.62
7.4.200.0000.00716.67
7.4.160.0120.00916.37
7.4.150.0070.01017.40
7.4.140.0050.01417.86
7.4.130.0130.01016.70
7.4.120.0130.00616.50
7.4.110.0090.00916.46
7.4.100.0130.01316.59
7.4.90.0120.00516.59
7.4.80.0070.01019.39
7.4.70.0100.00716.54
7.4.60.0130.00316.60
7.4.50.0040.00916.41
7.4.40.0060.00916.66
7.4.30.0030.01316.64
7.4.00.0030.01215.03
7.3.330.0080.00013.32
7.3.320.0060.00013.36
7.3.310.0030.00316.36
7.3.300.0070.00016.35
7.3.290.0080.00616.38
7.3.280.0090.00716.37
7.3.270.0120.00917.40
7.3.260.0090.00916.52
7.3.240.0070.00916.53
7.3.230.0090.00916.46
7.3.210.0060.01016.43
7.3.200.0120.00316.45
7.3.190.0090.00916.51
7.3.180.0030.01316.57
7.3.170.0060.01016.45
7.3.160.0160.00016.47
7.2.330.0120.00916.67
7.2.320.0100.01416.66
7.2.310.0140.00316.59
7.2.300.0030.01316.30
7.2.290.0090.00916.55
7.2.60.0040.01116.64
7.2.00.0060.00919.09
7.1.200.0090.00615.77
7.1.100.0040.01117.71
7.1.70.0000.00717.00
7.1.60.0090.01619.12
7.1.50.0030.01016.83
7.1.00.0000.07722.44
7.0.200.0000.00816.39
7.0.60.0170.07319.83
7.0.50.0070.06717.87
7.0.40.0000.04720.15
7.0.30.0300.07720.10
7.0.20.0330.08320.16
7.0.10.0100.05720.07
7.0.00.0030.05020.10
5.6.280.0030.05321.07
5.6.210.0030.08320.50
5.6.200.0100.07718.16
5.6.190.0100.08720.39
5.6.180.0270.05720.58
5.6.170.0330.07020.45
5.6.160.0000.09020.43
5.6.150.0100.08018.18
5.6.140.0100.03718.15
5.6.130.0070.07718.25
5.6.120.0130.07321.05
5.6.110.0170.07321.04
5.6.100.0130.07721.01
5.6.90.0130.07020.97
5.6.80.0130.07020.47
5.5.350.4400.03720.41
5.5.340.0030.08317.99
5.5.330.0100.08320.32
5.5.320.0070.08320.24
5.5.310.0200.04320.14
5.5.300.0130.05317.98
5.5.290.0070.04717.97
5.5.280.0100.04020.96
5.5.270.0070.08720.79
5.5.260.0100.08020.86
5.5.250.0330.06720.58
5.5.240.0270.03020.25

preferences:
82.14 ms | 401 KiB | 5 Q