3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "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.BVEJBVHd.dpuf"; ?>

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.0120.00318.73
8.3.30.0150.00018.96
8.3.20.0070.00020.21
8.3.10.0080.00023.65
8.3.00.0040.00419.38
8.2.170.0070.01122.96
8.2.160.0100.00720.57
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00422.27
8.2.110.0070.00422.18
8.2.100.0040.00718.08
8.2.90.0070.00019.27
8.2.80.0030.00517.97
8.2.70.0060.00317.63
8.2.60.0040.00417.93
8.2.50.0050.00318.07
8.2.40.0000.00819.76
8.2.30.0000.00717.91
8.2.20.0040.00417.54
8.2.10.0040.00417.92
8.2.00.0040.00417.52
8.1.270.0040.00423.83
8.1.260.0080.00026.35
8.1.250.0050.00228.09
8.1.240.0040.00423.90
8.1.230.0060.00619.05
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0080.00017.10
8.1.190.0000.00817.10
8.1.180.0060.00318.59
8.1.170.0000.00718.41
8.1.160.0040.00421.88
8.1.150.0050.00318.37
8.1.140.0070.00017.27
8.1.130.0030.00317.75
8.1.120.0030.00317.32
8.1.110.0050.00217.30
8.1.100.0000.00717.17
8.1.90.0030.00317.33
8.1.80.0050.00217.31
8.1.70.0080.00017.26
8.1.60.0050.00317.32
8.1.50.0060.00317.34
8.1.40.0000.00817.45
8.1.30.0050.00317.45
8.1.20.0000.00717.42
8.1.10.0070.00017.32
8.1.00.0040.00417.39
8.0.300.0000.00818.77
8.0.290.0040.00417.18
8.0.280.0030.00318.37
8.0.270.0040.00417.07
8.0.260.0000.00617.09
8.0.250.0040.00416.72
8.0.240.0030.00516.79
8.0.230.0000.00816.83
8.0.220.0000.00816.67
8.0.210.0000.00716.64
8.0.200.0040.00416.74
8.0.190.0070.00016.83
8.0.180.0040.00416.66
8.0.170.0050.00316.76
8.0.160.0080.00016.74
8.0.150.0080.00016.62
8.0.140.0030.00416.73
8.0.130.0000.00613.11
8.0.120.0040.00416.75
8.0.110.0050.00316.81
8.0.100.0000.00716.57
8.0.90.0000.00716.62
8.0.80.0110.00716.80
8.0.70.0000.00716.71
8.0.60.0000.00716.62
8.0.50.0000.00716.64
8.0.30.0070.01316.80
8.0.20.0110.00817.40
8.0.10.0000.00716.83
8.0.00.0080.01216.71
7.4.330.0060.00015.00
7.4.320.0060.00016.29
7.4.300.0030.00316.45
7.4.290.0040.00416.37
7.4.280.0040.00416.33
7.4.270.0000.00716.32
7.4.260.0040.00216.36
7.4.250.0040.00416.35
7.4.240.0060.00216.40
7.4.230.0030.00316.39
7.4.220.0110.00716.48
7.4.210.0040.01216.39
7.4.200.0070.00016.55
7.4.190.0070.00016.52
7.4.160.0070.00716.33
7.4.150.0110.00617.40
7.4.140.0050.01217.86
7.4.130.0060.01216.47
7.4.120.0080.01116.33
7.4.110.0090.00916.34
7.4.100.0080.00816.36
7.4.90.0100.00716.40
7.4.80.0140.01019.39
7.4.70.0080.01216.52
7.4.60.0080.00816.21
7.4.50.0050.00316.25
7.4.40.0100.00716.62
7.4.30.0050.01116.21
7.4.00.0070.01014.52
7.3.330.0050.00012.93
7.3.320.0000.00612.89
7.3.310.0040.00416.06
7.3.300.0030.00316.15
7.3.290.0030.00916.06
7.3.280.0100.00816.14
7.3.270.0120.00617.40
7.3.260.0030.01516.16
7.3.250.0080.01216.15
7.3.240.0070.01016.28
7.3.230.0070.01016.39
7.3.210.0090.00916.32
7.3.200.0160.00719.39
7.3.190.0100.00716.33
7.3.180.0060.01015.97
7.3.170.0090.00616.40
7.3.160.0120.00916.12
7.3.120.0120.00415.02
7.2.330.0120.00916.59
7.2.320.0110.00616.38
7.2.310.0120.00916.59
7.2.300.0090.00616.44
7.2.290.0090.01516.32
7.2.00.0000.01619.06
7.1.200.0040.01115.38
7.1.100.0070.00517.92
7.1.70.0040.00416.79
7.1.60.0100.01319.46
7.1.50.0060.01216.95
7.1.00.0030.07322.44
7.0.200.0030.00716.76
7.0.140.0030.07322.13
7.0.60.0170.07019.84
7.0.50.0100.06317.78
7.0.40.0000.04720.31
7.0.30.2200.04320.34
7.0.20.0230.08020.16
7.0.10.0100.07020.17
7.0.00.0070.06720.20
5.6.280.0030.07321.14
5.6.210.0000.08320.64
5.6.200.0130.05018.09
5.6.190.0100.04320.67
5.6.180.0070.06320.77
5.6.170.0300.06720.61
5.6.160.0070.06720.51
5.6.150.0070.08018.18
5.6.140.0130.07318.21
5.6.130.0030.04318.10
5.6.120.0000.04720.89
5.6.110.0130.07721.06
5.6.100.0200.06320.98
5.6.90.0070.05321.00
5.6.80.0070.08320.52
5.5.350.2800.02720.36
5.5.340.0000.05017.91
5.5.330.0030.04320.50
5.5.320.0270.07720.32
5.5.310.0200.04320.30
5.5.300.0030.04017.87
5.5.290.0100.08317.89
5.5.280.0130.07720.73
5.5.270.0130.04720.96
5.5.260.0030.09020.86
5.5.250.0000.04320.60
5.5.240.0070.05020.20
5.4.450.0030.04719.41
5.4.440.0130.07019.39
5.4.430.0000.07719.13
5.4.420.0000.05019.41
5.4.410.0070.06019.01
5.4.400.0000.08019.21
5.4.390.0070.05719.08
5.4.380.0030.07018.94
5.4.370.0100.07319.23
5.4.360.0070.07719.05
5.4.350.0070.07019.08
5.4.340.0030.08019.06
5.4.320.0070.07318.79
5.4.310.0100.05719.08
5.4.300.0030.06019.08
5.4.290.0100.07718.77
5.4.280.0100.06719.09
5.4.270.0030.07319.13
5.4.260.0030.06319.21
5.4.250.0030.06718.89
5.4.240.0070.06719.06
5.4.230.0030.07718.88
5.4.220.0030.07719.09
5.4.210.0000.06718.91
5.4.200.0070.03719.07
5.4.190.0030.03719.08
5.4.180.0030.08018.77
5.4.170.0070.06018.87
5.4.160.0100.07019.22
5.4.150.0070.05319.11
5.4.140.0030.05716.33
5.4.130.0000.07316.42
5.4.120.0030.06316.41
5.4.110.0070.07316.39
5.4.100.0030.07016.48
5.4.90.0070.04316.21
5.4.80.0130.03316.38
5.4.70.0100.06016.39
5.4.60.0030.06716.36
5.4.50.0000.07716.46
5.4.40.0070.06316.45
5.4.30.0070.04716.47
5.4.20.0030.07316.35
5.4.10.0000.07716.31
5.4.00.0030.07016.03
5.3.290.0070.07714.75
5.3.280.0000.05014.61
5.3.270.0100.05714.56
5.3.260.0030.07714.66
5.3.250.0100.04714.44
5.3.240.0000.05014.55
5.3.230.0000.07714.54
5.3.220.0030.05714.51
5.3.210.0030.05014.41
5.3.200.0030.07014.41
5.3.190.0030.04714.61
5.3.180.0000.08014.43
5.3.170.0170.04314.51
5.3.160.0070.04314.43
5.3.150.0000.05014.41
5.3.140.0070.06714.41
5.3.130.0000.07014.40
5.3.120.0030.06714.40
5.3.110.0030.06714.39
5.3.100.0000.05013.91
5.3.90.0100.06713.95
5.3.80.0030.04713.96
5.3.70.0130.07013.80
5.3.60.0070.04313.88
5.3.50.0230.04713.74
5.3.40.0070.04313.89
5.3.30.0030.07013.89
5.3.20.0000.07313.67
5.3.10.0000.07013.74
5.3.00.0000.07313.68

preferences:
35.21 ms | 400 KiB | 5 Q