3v4l.org

run code in 300+ PHP versions simultaneously
'Tomorrow I \'ll learn PHP global variables.''This is a bad command : del c:\\*.*' Expected Output : Tomorrow I 'll learn PHP global variables.This is a bad command : del c:\*.*  - See more at: http://www.w3resource.com/php-exercises/php-basic-exercises.php#sthash.PQ7hW3ym.dpuf <?php echo "<i>Sample output:</i> <br/>"; echo "'Toorrow I \\ 'll learn PHP global variables.'<br/>"; echo "'This is a bad command: del c:\\*.*'"; echo "<iexpected output:</i> <br/>"; echo "Tomorrow I'll learn PHP global variables.<br/> "; echo "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.60.0140.00016.35
8.3.50.0130.00822.84
8.3.40.0070.00718.81
8.3.30.0030.01019.07
8.3.20.0040.00420.15
8.3.10.0080.00021.78
8.3.00.0080.00019.25
8.2.180.0120.00316.50
8.2.170.0110.00422.96
8.2.160.0130.00720.53
8.2.150.0040.00424.18
8.2.140.0090.00624.66
8.2.130.0070.00026.16
8.2.120.0050.00321.00
8.2.110.0060.00322.08
8.2.100.0110.00017.66
8.2.90.0040.00419.22
8.2.80.0080.00017.97
8.2.70.0000.00817.38
8.2.60.0040.00417.93
8.2.50.0040.00418.07
8.2.40.0040.00417.97
8.2.30.0000.00717.87
8.2.20.0060.00317.53
8.2.10.0000.00717.84
8.2.00.0080.00017.61
8.1.280.0100.00725.92
8.1.270.0030.00623.79
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0100.00023.63
8.1.230.0070.00419.14
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0050.00317.00
8.1.180.0040.00418.10
8.1.170.0030.00518.36
8.1.160.0000.00721.96
8.1.150.0070.00018.75
8.1.140.0040.00417.27
8.1.130.0040.00417.71
8.1.120.0040.00317.26
8.1.110.0050.00217.33
8.1.100.0000.00717.36
8.1.90.0040.00417.30
8.1.80.0030.00317.43
8.1.70.0070.00017.31
8.1.60.0000.00717.49
8.1.50.0000.00817.29
8.1.40.0070.00017.45
8.1.30.0040.00417.38
8.1.20.0040.00417.47
8.1.10.0040.00417.51
8.1.00.0040.00417.27
8.0.300.0070.00018.77
8.0.290.0070.00016.75
8.0.280.0030.00318.42
8.0.270.0030.00317.07
8.0.260.0030.00317.24
8.0.250.0030.00316.82
8.0.240.0030.00316.71
8.0.230.0040.00416.77
8.0.220.0060.00316.72
8.0.210.0060.00016.79
8.0.200.0040.00416.83
8.0.190.0030.00516.80
8.0.180.0030.00316.71
8.0.170.0000.00716.80
8.0.160.0000.00716.73
8.0.150.0030.00516.81
8.0.140.0040.00416.70
8.0.130.0060.00013.28
8.0.120.0080.00016.66
8.0.110.0000.00716.63
8.0.100.0070.00016.67
8.0.90.0070.00016.67
8.0.80.0150.00716.74
8.0.70.0040.00416.67
8.0.60.0070.00016.88
8.0.50.0050.00316.71
8.0.30.0130.00517.12
8.0.20.0130.00917.40
8.0.10.0000.00816.86
8.0.00.0130.00616.71
7.4.330.0050.00015.01
7.4.320.0000.00616.28
7.4.300.0030.00316.35
7.4.290.0070.00016.43
7.4.280.0080.00416.35
7.4.270.0080.00016.50
7.4.260.0090.00016.38
7.4.250.0000.00716.26
7.4.240.0000.00716.43
7.4.230.0030.00316.57
7.4.220.0100.00716.32
7.4.210.0100.00616.57
7.4.200.0030.00316.48
7.4.160.0090.01316.27
7.4.150.0120.00617.40
7.4.140.0140.00617.86
7.4.130.0100.00916.31
7.4.120.0090.00916.24
7.4.110.0100.00716.30
7.4.100.0100.00716.22
7.4.90.0050.01216.36
7.4.80.0130.00319.39
7.4.70.0090.01716.54
7.4.60.0060.01216.42
7.4.50.0060.00316.50
7.4.40.0110.00716.43
7.4.30.0120.00416.28
7.4.00.0000.01214.69
7.3.330.0050.00012.90
7.3.320.0000.00612.99
7.3.310.0070.00016.07
7.3.300.0000.00616.13
7.3.290.0160.00016.16
7.3.280.0040.01016.11
7.3.270.0060.01017.40
7.3.260.0090.01316.32
7.3.250.0120.00516.30
7.3.240.0080.00816.32
7.3.230.0080.01516.39
7.3.210.0120.00316.25
7.3.200.0120.01219.39
7.3.190.0060.00916.45
7.3.180.0040.01216.11
7.3.170.0000.01416.27
7.3.160.0170.00016.25
7.2.330.0070.01116.41
7.2.320.0130.00616.33
7.2.310.0060.01316.25
7.2.300.0100.00716.25
7.2.290.0100.01116.55
7.2.00.0030.00919.16
7.1.100.0060.00617.93
7.1.70.0040.00416.61
7.1.60.0030.01219.40
7.1.50.0060.01616.78
7.1.00.0030.06722.45
7.0.200.0610.00316.49
7.0.140.0000.08021.96
7.0.60.0130.05320.04
7.0.50.0030.08717.66
7.0.40.0100.08019.98
7.0.30.0270.05720.09
7.0.20.0330.07720.19
7.0.10.0070.08320.00
7.0.00.0000.04720.34
5.6.280.0100.06320.88
5.6.210.0070.04020.62
5.6.200.0000.05318.11
5.6.190.0030.04020.27
5.6.180.3470.04020.33
5.6.170.0370.06320.38
5.6.160.0070.06320.61
5.6.150.0100.03318.18
5.6.140.0130.06318.20
5.6.130.0030.04318.22
5.6.120.0200.07020.97
5.6.110.0170.07321.09
5.6.100.0070.04021.11
5.6.90.0070.08321.02
5.6.80.0070.03720.52
5.6.70.3430.03320.46
5.5.350.0200.08320.52
5.5.340.0100.04317.96
5.5.330.0070.05020.40
5.5.320.3500.04020.18
5.5.310.0230.04020.27
5.5.300.0100.08017.96
5.5.290.0030.04018.01
5.5.280.0070.08320.79
5.5.270.0000.06020.79
5.5.260.0100.06320.86
5.5.250.0070.06320.77
5.5.240.0170.06720.06
5.4.450.1270.06019.41
5.4.440.0230.03319.42
5.4.430.0130.03719.60
5.4.420.0300.04319.41
5.4.410.0230.04319.11
5.4.400.0370.03319.09
5.4.390.0270.04318.93
5.4.380.0400.05018.53
5.4.370.0230.05318.79
5.4.360.0330.05718.74
5.4.350.0430.06318.63
5.4.340.0330.05718.56
5.4.320.0110.04112.45
5.4.310.0080.04712.45
5.4.300.0070.04112.45
5.4.290.0060.03912.45
5.4.280.0080.04112.35
5.4.270.0070.04412.35
5.4.260.0080.03612.34
5.4.250.0070.03512.34
5.4.240.0070.03612.34
5.4.230.0070.04212.34
5.4.220.0090.04512.34
5.4.210.0090.03512.34
5.4.200.0080.04012.34
5.4.190.0040.03912.33
5.4.180.0080.03612.33
5.4.170.0060.03812.35
5.4.160.0070.03712.34
5.4.150.0080.03812.34
5.4.140.0080.03512.02
5.4.130.0020.03812.01
5.4.120.0030.03711.96
5.4.110.0110.03811.96
5.4.100.0060.03611.96
5.4.90.0110.04011.96
5.4.80.0100.04511.96
5.4.70.0080.04811.96
5.4.60.0070.04011.96
5.4.50.0060.03811.96
5.4.40.0080.03411.95
5.4.30.0070.03611.95
5.4.20.0070.03511.95
5.4.10.0080.04111.95
5.4.00.0030.04011.43
5.3.290.0100.04412.80
5.3.280.0040.04212.71
5.3.270.0070.04712.72
5.3.260.0080.04012.72
5.3.250.0050.04212.72
5.3.240.0050.04012.72
5.3.230.0080.03612.71
5.3.220.0100.03712.68
5.3.210.0050.04112.68
5.3.200.0100.03312.68
5.3.190.0050.04312.67
5.3.180.0050.04012.67
5.3.170.0080.03812.67
5.3.160.0060.03512.68
5.3.150.0050.03712.67
5.3.140.0030.04012.66
5.3.130.0040.04012.66
5.3.120.0040.04012.66
5.3.110.0080.03512.66
5.3.100.0060.04312.12
5.3.90.0060.03912.09
5.3.80.0090.03312.08
5.3.70.0070.03412.07
5.3.60.0060.03512.06
5.3.50.0070.03712.00
5.3.40.0060.04212.00
5.3.30.0040.05011.94
5.3.20.0040.03811.71
5.3.10.0070.03511.69
5.3.00.0060.03511.67
5.2.170.0040.0319.18
5.2.160.0050.0289.18
5.2.150.0020.0329.18
5.2.140.0050.0299.18
5.2.130.0020.0319.14
5.2.120.0030.0299.13
5.2.110.0050.0289.14
5.2.100.0040.0299.13
5.2.90.0040.0309.14
5.2.80.0020.0339.13
5.2.70.0020.0329.13
5.2.60.0040.0309.08
5.2.50.0040.0319.05
5.2.40.0040.0289.03
5.2.30.0050.0299.00
5.2.20.0040.0419.00
5.2.10.0080.0358.92
5.2.00.0100.0338.78
5.1.60.0050.0328.06
5.1.50.0060.0318.06
5.1.40.0070.0308.04
5.1.30.0070.0568.39
5.1.20.0040.0298.41
5.1.10.0040.0358.13
5.1.00.0060.0338.14
5.0.50.0060.0256.61
5.0.40.0040.0266.46
5.0.30.0040.0396.28
5.0.20.0080.0206.25
5.0.10.0060.0236.24
5.0.00.0070.0326.23
4.4.90.0040.0194.78
4.4.80.0040.0144.76
4.4.70.0040.0154.75
4.4.60.0060.0184.76
4.4.50.0030.0214.77
4.4.40.0020.0304.70
4.4.30.0040.0144.76
4.4.20.0040.0154.85
4.4.10.0030.0164.85
4.4.00.0020.0264.75
4.3.110.0040.0144.67
4.3.100.0030.0144.66
4.3.90.0010.0174.63
4.3.80.0040.0244.59
4.3.70.0030.0204.63
4.3.60.0020.0164.63
4.3.50.0010.0184.63
4.3.40.0020.0284.54
4.3.30.0030.0163.28
4.3.20.0020.0163.25
4.3.10.0030.0153.21
4.3.00.0070.01715.91

preferences:
40.26 ms | 401 KiB | 5 Q