3v4l.org

run code in 300+ PHP versions simultaneously
<?php print nl2br('Tomorrow I \'ll learn PHP global variables.<br>This is a bad command : del c:\\*.*'); ?>

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.40.0000.01418.54
8.3.30.0140.00018.78
8.3.20.0040.00420.20
8.3.10.0030.00623.66
8.3.00.0080.00019.13
8.2.170.0160.00322.96
8.2.160.0040.01120.35
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00421.07
8.2.110.0100.00020.20
8.2.100.0080.00417.91
8.2.90.0040.00419.11
8.2.80.0030.00517.97
8.2.70.0040.00417.38
8.2.60.0040.00417.92
8.2.50.0070.00318.07
8.2.40.0050.00319.88
8.2.30.0000.00719.41
8.2.20.0060.00317.48
8.2.10.0000.00817.79
8.2.00.0040.00417.44
8.1.270.0070.00023.73
8.1.260.0000.00726.35
8.1.250.0070.00028.09
8.1.240.0090.00022.18
8.1.230.0080.00319.09
8.1.220.0030.00617.74
8.1.210.0000.00818.77
8.1.200.0050.00517.22
8.1.190.0070.00017.23
8.1.180.0040.00418.10
8.1.170.0040.00418.59
8.1.160.0000.00721.98
8.1.150.0070.00018.75
8.1.140.0070.00017.33
8.1.130.0000.00717.66
8.1.120.0000.00717.38
8.1.110.0070.00017.31
8.1.100.0050.00217.37
8.1.90.0030.00517.30
8.1.80.0030.00617.22
8.1.70.0050.00317.20
8.1.60.0000.00817.33
8.1.50.0000.00817.30
8.1.40.0080.00017.27
8.1.30.0000.00817.53
8.1.20.0040.00417.51
8.1.10.0040.00417.41
8.1.00.0030.00517.25
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0030.00318.37
8.0.270.0030.00317.08
8.0.260.0000.00817.24
8.0.250.0000.00716.80
8.0.240.0070.00016.92
8.0.230.0000.00716.82
8.0.220.0070.00016.77
8.0.210.0030.00316.67
8.0.200.0060.00316.86
8.0.190.0030.00516.69
8.0.180.0000.00716.80
8.0.170.0000.00716.77
8.0.160.0050.00216.63
8.0.150.0030.00516.67
8.0.140.0050.00316.71
8.0.130.0050.00013.18
8.0.120.0030.00616.74
8.0.110.0000.00716.57
8.0.100.0040.00416.60
8.0.90.0030.00316.69
8.0.80.0060.01016.77
8.0.70.0000.00716.77
8.0.60.0100.00016.74
8.0.50.0000.00716.72
8.0.30.0130.00617.05
8.0.20.0160.00317.40
8.0.10.0020.00516.70
8.0.00.0050.01216.57
7.4.330.0050.00015.00
7.4.320.0040.00416.38
7.4.300.0060.00016.25
7.4.290.0020.00516.38
7.4.280.0030.00516.43
7.4.270.0070.00016.50
7.4.260.0000.00716.46
7.4.250.0040.00416.32
7.4.240.0040.00416.37
7.4.230.0070.00016.52
7.4.220.0060.01316.30
7.4.210.0070.00716.38
7.4.200.0000.00716.24
7.4.160.0250.00716.33
7.4.150.0100.00717.40
7.4.140.0070.01017.86
7.4.130.0060.01116.33
7.4.120.0070.01016.31
7.4.110.0040.01416.29
7.4.100.0070.01416.39
7.4.90.0090.00816.23
7.4.80.0110.00819.39
7.4.70.0080.00816.24
7.4.60.0130.00916.41
7.4.50.0020.00216.52
7.4.40.0040.01416.16
7.4.30.0060.00916.57
7.4.00.0090.00915.06
7.3.330.0000.00612.86
7.3.320.0050.00013.00
7.3.310.0030.00316.18
7.3.300.0000.00716.11
7.3.290.0060.00916.12
7.3.280.0090.00916.12
7.3.270.0030.01417.40
7.3.260.0090.01516.37
7.3.250.0130.00516.32
7.3.240.0090.00616.14
7.3.230.0070.01116.39
7.3.210.0060.00916.09
7.3.200.0100.00719.39
7.3.190.0120.00616.19
7.3.180.0120.00416.43
7.3.170.0130.00816.27
7.3.160.0080.00616.29
7.3.120.0110.00614.87
7.3.110.0070.01114.96
7.3.100.0030.01314.91
7.3.90.0060.00614.89
7.3.80.0070.01014.80
7.3.70.0000.01014.71
7.3.60.0000.01414.82
7.3.50.0100.00314.73
7.3.40.0030.00914.53
7.3.30.0140.00014.69
7.3.20.0110.00316.60
7.3.10.0040.00816.44
7.3.00.0070.01116.70
7.2.330.0070.01016.51
7.2.320.0030.01316.52
7.2.310.0150.00316.59
7.2.300.0070.00716.43
7.2.290.0040.01416.33
7.2.250.0080.00815.13
7.2.240.0060.01014.69
7.2.230.0120.00314.80
7.2.220.0040.00714.71
7.2.210.0040.01115.01
7.2.200.0000.01214.94
7.2.190.0030.00714.80
7.2.180.0030.01014.97
7.2.170.0040.00514.91
7.2.60.0070.01016.49
7.2.00.0030.01019.39
7.1.330.0100.00315.30
7.1.320.0030.00715.58
7.1.310.0000.01715.76
7.1.300.0030.00715.71
7.1.290.0100.00615.73
7.1.280.0000.00915.62
7.1.270.0070.00715.87
7.1.260.0070.00715.79
7.1.200.0100.00315.69
7.1.100.0080.00317.89
7.1.70.0030.01217.12
7.1.60.0120.01219.46
7.1.50.0080.01516.77
7.1.00.0030.07722.54
7.0.200.0040.00416.70
7.0.140.0000.07721.92
7.0.60.0030.06720.00
7.0.50.0070.07317.77
7.0.40.0130.06720.06
7.0.30.0230.05020.20
7.0.20.0330.08020.18
7.0.10.0030.04320.17
7.0.00.0030.09020.32
5.6.280.0100.06321.11
5.6.210.0130.07320.68
5.6.200.0030.04018.15
5.6.190.0130.06320.55
5.6.180.0270.04020.41
5.6.170.0100.04720.51
5.6.160.0200.07020.61
5.6.150.0070.07718.12
5.6.140.0100.03718.18
5.6.130.0030.04318.07
5.6.120.0070.09021.07
5.6.110.0030.09020.98
5.6.100.0130.07720.92
5.6.90.0100.08321.02
5.6.80.0200.06720.28
5.6.70.4470.04720.46
5.5.350.0100.08320.37
5.5.340.0000.04017.95
5.5.330.0070.04320.40
5.5.320.0070.05320.24
5.5.310.0230.08020.24
5.5.300.0000.04317.89
5.5.290.0070.08018.02
5.5.280.0030.05320.87
5.5.270.0000.09320.73
5.5.260.0070.05320.96
5.5.250.0000.04320.57
5.5.240.0300.07020.14
5.4.450.0300.04319.41
5.4.440.0330.05019.48
5.4.430.0100.04319.11
5.4.420.0300.03719.42
5.4.410.0500.05719.43
5.4.400.0230.04719.14
5.4.390.0170.04719.09
5.4.380.0300.06018.69
5.4.370.0430.05318.49
5.4.360.0470.07718.67
5.4.350.0230.07018.62
5.4.340.0600.07318.68
5.4.320.0040.04112.45
5.4.310.0070.04712.45
5.4.300.0090.03512.45
5.4.290.0080.03612.45
5.4.280.0050.04012.35
5.4.270.0030.04212.35
5.4.260.0050.04012.34
5.4.250.0090.03812.34
5.4.240.0080.03512.35
5.4.230.0070.03612.33
5.4.220.0090.04912.34
5.4.210.0070.04312.34
5.4.200.0090.04312.34
5.4.190.0050.05412.33
5.4.180.0080.04612.33
5.4.170.0060.04212.34
5.4.160.0040.04412.34
5.4.150.0090.03812.34
5.4.140.0060.03612.02
5.4.130.0070.03412.01
5.4.120.0030.03911.97
5.4.110.0120.03111.96
5.4.100.0060.03411.96
5.4.90.0050.03811.96
5.4.80.0080.03911.96
5.4.70.0080.03511.96
5.4.60.0090.03511.96
5.4.50.0030.04111.96
5.4.40.0050.03711.95
5.4.30.0050.03911.95
5.4.20.0090.03611.95
5.4.10.0050.03511.95
5.4.00.0080.03511.43
5.3.290.0080.04512.80
5.3.280.0060.04212.71
5.3.270.0100.03812.72
5.3.260.0060.04012.72
5.3.250.0070.04312.72
5.3.240.0060.03712.72
5.3.230.0100.03512.71
5.3.220.0070.04312.68
5.3.210.0050.04612.68
5.3.200.0090.04012.68
5.3.190.0060.03812.68
5.3.180.0080.04012.67
5.3.170.0080.03612.67
5.3.160.0110.03912.68
5.3.150.0050.03912.67
5.3.140.0060.03612.66
5.3.130.0080.03712.66
5.3.120.0060.03912.66
5.3.110.0090.04212.66
5.3.100.0090.03512.11
5.3.90.0050.03712.09
5.3.80.0040.03812.08
5.3.70.0070.03512.08
5.3.60.0070.03812.07
5.3.50.0090.03412.00
5.3.40.0060.03812.00
5.3.30.0070.03411.94
5.3.20.0060.03511.71
5.3.10.0040.03611.69
5.3.00.0040.03911.68
5.2.170.0060.0319.18
5.2.160.0040.0339.18
5.2.150.0060.0309.17
5.2.140.0060.0429.17
5.2.130.0060.0419.13
5.2.120.0100.0329.13
5.2.110.0050.0299.14
5.2.100.0050.0299.13
5.2.90.0080.0269.14
5.2.80.0060.0329.13
5.2.70.0040.0349.13
5.2.60.0050.0299.09
5.2.50.0040.0309.05
5.2.40.0080.0289.03
5.2.30.0050.0309.01
5.2.20.0080.0359.00
5.2.10.0040.0298.91
5.2.00.0070.0278.77
5.1.60.0040.0248.05
5.1.50.0040.0288.05
5.1.40.0070.0228.04
5.1.30.0060.0248.39
5.1.20.0080.0248.41
5.1.10.0060.0248.13
5.1.00.0060.0298.13
5.0.50.0040.0236.61
5.0.40.0030.0206.47
5.0.30.0070.0296.29
5.0.20.0050.0186.26
5.0.10.0040.0206.23
5.0.00.0040.0316.22
4.4.90.0030.0154.78
4.4.80.0020.0164.75
4.4.70.0030.0154.75
4.4.60.0030.0154.75
4.4.50.0010.0174.77
4.4.40.0060.0244.70
4.4.30.0060.0164.76
4.4.20.0050.0144.84
4.4.10.0040.0144.85
4.4.00.0010.0274.76
4.3.110.0050.0144.67
4.3.100.0040.0154.66
4.3.90.0030.0154.64
4.3.80.0010.0284.59
4.3.70.0020.0164.63
4.3.60.0030.0174.63
4.3.50.0020.0164.63
4.3.40.0070.0204.53
4.3.30.0020.0163.28
4.3.20.0010.0183.25
4.3.10.0030.0163.21
4.3.00.0070.01018.55

preferences:
48.29 ms | 400 KiB | 5 Q