3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo; define (__NAMESPACE__ . '\NULL', 10, false); // produces notice - Constant null already defined echo NULL;

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.00916.38
8.3.50.0080.00817.67
8.3.40.0070.00718.84
8.3.30.0150.00718.51
8.3.20.0000.00820.29
8.3.10.0030.00523.66
8.3.00.0000.00819.84
8.2.180.0080.01118.05
8.2.170.0060.00922.96
8.2.160.0100.00320.39
8.2.150.0090.00024.18
8.2.140.0070.00024.66
8.2.130.0050.00321.03
8.2.120.0040.00426.35
8.2.110.0090.00020.52
8.2.100.0050.00517.90
8.2.90.0030.00619.09
8.2.80.0000.00817.97
8.2.70.0030.00517.38
8.2.60.0040.00417.93
8.2.50.0050.00318.07
8.2.40.0000.00821.02
8.2.30.0080.00020.67
8.2.20.0000.00717.62
8.2.10.0000.00818.00
8.2.00.0030.00517.80
8.1.280.0140.00625.92
8.1.270.0110.00420.38
8.1.260.0050.00328.09
8.1.250.0030.00528.09
8.1.240.0060.00323.83
8.1.230.0060.00619.21
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0030.00717.23
8.1.190.0000.00817.52
8.1.180.0000.00718.10
8.1.170.0000.00818.41
8.1.160.0000.00720.68
8.1.150.0000.00718.70
8.1.140.0000.00819.45
8.1.130.0070.00017.48
8.1.120.0000.00717.34
8.1.110.0000.00717.33
8.1.100.0030.00617.31
8.1.90.0000.00717.24
8.1.80.0000.00817.36
8.1.70.0000.00817.28
8.1.60.0000.00817.36
8.1.50.0040.00417.39
8.1.40.0060.00317.25
8.1.30.0000.00817.51
8.1.20.0000.00917.54
8.1.10.0040.00417.39
8.1.00.0000.00817.31
8.0.300.0070.00018.77
8.0.290.0040.00416.63
8.0.280.0030.00318.39
8.0.270.0000.00717.09
8.0.260.0030.00317.23
8.0.250.0000.00716.89
8.0.240.0030.00316.82
8.0.230.0070.00016.75
8.0.220.0040.00416.77
8.0.210.0030.00316.75
8.0.200.0070.00016.87
8.0.190.0000.00816.71
8.0.180.0000.00816.80
8.0.170.0040.00416.77
8.0.160.0040.00316.75
8.0.150.0030.00316.68
8.0.140.0040.00416.72
8.0.130.0030.00313.23
8.0.120.0040.00416.71
8.0.110.0000.00716.63
8.0.100.0040.00416.63
8.0.90.0040.00416.71
8.0.80.0180.00316.76
8.0.70.0000.00716.71
8.0.60.0050.00216.73
8.0.50.0000.00716.65
8.0.30.0090.01017.09
8.0.20.0060.01217.40
8.0.10.0040.00416.88
8.0.00.0070.01016.68
7.4.330.0000.00516.71
7.4.320.0060.00016.44
7.4.300.0050.00216.37
7.4.290.0030.00316.27
7.4.280.0030.00616.44
7.4.270.0040.00416.47
7.4.260.0030.00316.27
7.4.250.0070.00016.22
7.4.240.0040.00416.39
7.4.230.0030.00316.53
7.4.220.0110.01716.35
7.4.210.0060.01216.43
7.4.200.0030.00316.25
7.4.160.0060.00916.56
7.4.150.0060.01617.40
7.4.140.0090.01417.86
7.4.130.0120.00616.42
7.4.120.0120.00816.26
7.4.110.0130.01016.50
7.4.100.0100.01316.34
7.4.90.0100.00716.47
7.4.80.0150.00619.39
7.4.70.0110.01116.43
7.4.60.0140.00316.30
7.4.50.0070.00716.43
7.4.40.0180.00416.48
7.4.30.0090.01316.46
7.4.00.0120.00314.65
7.3.330.0030.00313.05
7.3.320.0050.00013.02
7.3.310.0000.00715.95
7.3.300.0000.00616.10
7.3.290.0090.00716.13
7.3.280.0060.00916.23
7.3.270.0070.01217.40
7.3.260.0140.00916.34
7.3.240.0120.00716.11
7.3.230.0110.00916.44
7.3.210.0070.01316.23
7.3.200.0100.00716.11
7.3.190.0040.01216.29
7.3.180.0090.00616.18
7.3.170.0110.01116.48
7.3.160.0120.00316.21
7.3.10.0070.00716.56
7.3.00.0000.01116.67
7.2.330.0090.00916.55
7.2.320.0060.01216.50
7.2.310.0090.00916.57
7.2.300.0130.01016.50
7.2.290.0070.01016.38
7.2.130.0120.00316.61
7.2.120.0110.00416.68
7.2.110.0030.01416.93
7.2.100.0030.00616.57
7.2.90.0030.01316.76
7.2.80.0040.01116.49
7.2.70.0060.01016.82
7.2.60.0070.00916.62
7.2.50.0040.01416.89
7.2.40.0000.01116.95
7.2.30.0070.00716.63
7.2.20.0060.01016.72
7.2.10.0040.00816.84
7.2.00.0090.00417.83
7.1.250.0040.00715.59
7.1.200.0070.00715.68
7.1.100.0030.01017.63
7.1.70.0000.01316.86
7.1.60.0140.01019.13
7.1.50.0030.01016.89
7.1.00.0030.07722.31
7.0.200.0030.00716.56
7.0.60.0130.07719.92
7.0.50.0030.08717.87
7.0.40.0030.04720.26
7.0.30.0270.06320.30
7.0.20.0300.05320.33
7.0.10.0030.05320.04
7.0.00.0000.04320.17
5.6.280.0030.05720.78
5.6.210.0100.08020.46
5.6.200.0000.06018.11
5.6.190.0070.04320.77
5.6.180.0030.08320.67
5.6.170.0200.08020.54
5.6.160.0030.08720.46
5.6.150.0070.07318.18
5.6.140.0000.05018.20
5.6.130.0100.06318.22
5.6.120.0070.04021.00
5.6.110.0030.08721.04
5.6.100.0030.08721.07
5.6.90.0000.04320.96
5.6.80.0030.04020.50
5.5.350.4300.03720.46
5.5.340.0070.08317.97
5.5.330.0070.04320.23
5.5.320.0170.04720.43
5.5.310.0400.05720.50
5.5.300.0070.05317.92
5.5.290.0100.06317.92
5.5.280.0030.05020.80
5.5.270.0030.04720.79
5.5.260.0030.04020.79
5.5.250.0070.08020.57
5.5.240.0330.08020.26

preferences:
58.44 ms | 401 KiB | 5 Q