3v4l.org

run code in 300+ PHP versions simultaneously
<?php $greeting = "Howdy"; $audience = "World"; echo 'Single-Quote: '; echo '$greeting, $audience'; echo "\n"; echo "Double-Quote: "; echo "$greeting, $audience"; echo "\n"; echo "Special Double-Quote: "; echo "$greeting, {$audience}!";

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.4.20.0130.00717.51
8.4.10.0090.00017.75
8.3.150.0070.01117.11
8.3.140.0060.01218.93
8.3.130.0070.00316.51
8.3.120.0090.00020.85
8.3.110.0040.00418.30
8.3.100.0100.00718.48
8.3.90.0040.00426.77
8.3.80.0040.00416.38
8.3.70.0000.01416.58
8.3.60.0110.00418.43
8.3.50.0090.00721.98
8.3.40.0120.00318.61
8.3.30.0110.00419.14
8.3.20.0050.00220.25
8.3.10.0000.00721.77
8.3.00.0060.00319.11
8.2.260.0150.00318.10
8.2.250.0100.00018.27
8.2.240.0090.00918.71
8.2.230.0040.00420.94
8.2.220.0050.00524.06
8.2.210.0080.00026.77
8.2.200.0110.00016.36
8.2.190.0110.00416.58
8.2.180.0120.00616.48
8.2.170.0070.01318.91
8.2.160.0030.01022.96
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0060.00317.65
8.2.110.0090.00022.25
8.2.100.0040.00717.72
8.2.90.0000.00817.91
8.2.80.0050.00318.92
8.2.70.0060.00317.63
8.2.60.0000.00817.63
8.2.50.0000.00817.92
8.2.40.0000.00819.76
8.2.30.0040.00419.17
8.2.20.0000.00717.61
8.2.10.0000.00717.93
8.2.00.0050.00217.60
8.1.310.0060.01218.44
8.1.300.0100.01019.47
8.1.290.0060.00330.84
8.1.280.0120.00325.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0040.00422.49
8.1.230.0070.00420.88
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0080.00017.23
8.1.190.0060.00317.10
8.1.180.0000.00818.10
8.1.170.0040.00417.62
8.1.160.0020.00518.87
8.1.150.0000.00718.80
8.1.140.0040.00417.49
8.1.130.0050.00317.39
8.1.120.0000.00717.43
8.1.110.0000.00717.42
8.1.100.0040.00417.25
8.1.90.0040.00417.29
8.1.80.0040.00417.35
8.1.70.0070.00017.43
8.1.60.0000.00817.55
8.1.50.0050.00217.49
8.1.40.0080.00017.50
8.1.30.0000.00817.54
8.1.20.0030.00617.63
8.1.10.0030.00617.44
8.1.00.0100.00017.33
8.0.300.0070.00019.95
8.0.290.0000.00816.75
8.0.280.0050.00318.43
8.0.270.0030.00317.17
8.0.260.0000.00617.18
8.0.250.0070.00016.87
8.0.240.0060.00016.93
8.0.230.0070.00016.86
8.0.220.0000.00816.80
8.0.210.0000.00716.84
8.0.200.0000.00616.88
8.0.190.0080.00016.88
8.0.180.0000.00816.97
8.0.170.0040.00416.80
8.0.160.0000.00716.95
8.0.150.0030.00316.77
8.0.140.0070.00016.88
8.0.130.0000.00613.32
8.0.120.0040.00416.88
8.0.110.0030.00316.71
8.0.100.0000.00816.86
8.0.90.0070.00017.00
8.0.80.0030.01316.80
8.0.70.0070.00016.85
8.0.60.0040.00416.74
8.0.50.0080.00016.86
8.0.30.0080.01017.08
8.0.20.0130.00517.40
8.0.10.0080.00017.00
8.0.00.0140.00316.91
7.4.330.0020.00215.03
7.4.320.0060.00016.51
7.4.300.0000.00616.34
7.4.290.0000.00816.54
7.4.280.0080.00016.52
7.4.270.0000.00616.43
7.4.260.0050.00316.50
7.4.250.0000.00716.45
7.4.240.0020.00516.36
7.4.230.0070.00016.51
7.4.220.0160.00316.59
7.4.210.0100.00616.48
7.4.200.0000.00716.63
7.4.160.0080.00816.54
7.4.150.0100.00717.40
7.4.140.0090.00917.86
7.4.130.0100.00716.46
7.4.120.0090.00816.49
7.4.110.0100.01016.31
7.4.100.0090.00916.39
7.4.90.0080.00816.25
7.4.80.0090.01216.36
7.4.70.0090.00616.39
7.4.60.0070.01316.66
7.4.50.0030.00516.35
7.4.40.0140.00316.45
7.4.30.0100.00716.43
7.4.10.0070.01114.99
7.4.00.0100.00815.02
7.3.330.0050.00013.25
7.3.320.0030.00313.03
7.3.310.0040.00416.35
7.3.300.0030.00316.25
7.3.290.0110.00316.21
7.3.280.0150.00316.23
7.3.270.0100.00717.40
7.3.260.0150.00916.38
7.3.250.0110.00816.32
7.3.240.0170.00016.27
7.3.230.0100.00716.41
7.3.210.0060.01016.38
7.3.200.0200.00319.39
7.3.190.0090.00616.22
7.3.180.0080.00816.33
7.3.170.0000.01616.43
7.3.160.0140.00416.32
7.3.130.0060.01314.44
7.3.120.0100.00614.85
7.3.110.0030.01314.79
7.3.100.0080.00914.64
7.3.90.0110.00414.71
7.3.80.0070.00614.86
7.3.70.0050.00814.76
7.3.60.0020.01214.73
7.3.50.0060.00914.83
7.3.40.0090.00514.72
7.3.30.0030.00914.69
7.3.20.0080.00616.60
7.3.10.0080.00516.45
7.3.00.0050.00916.61
7.2.330.0130.00616.50
7.2.320.0090.00916.59
7.2.310.0080.00816.32
7.2.300.0030.01316.52
7.2.290.0030.01216.52
7.2.260.0080.01115.02
7.2.250.0120.00714.98
7.2.240.0060.01015.04
7.2.230.0030.01314.94
7.2.220.0030.01214.89
7.2.210.0060.00814.87
7.2.200.0050.00914.92
7.2.190.0020.01114.81
7.2.180.0050.00714.79
7.2.170.0100.00214.80
7.2.160.0060.00914.73
7.2.150.0020.01216.80
7.2.140.0070.00716.57
7.2.130.0020.01216.90
7.2.120.0050.01116.67
7.2.110.0110.00316.84
7.2.100.0070.00816.68
7.2.90.0100.00316.73
7.2.80.0040.01116.81
7.2.70.0070.01016.64
7.2.60.0070.00716.61
7.2.50.0000.01216.83
7.2.40.0030.01116.73
7.2.30.0050.01316.77
7.2.20.0050.01016.68
7.2.10.0070.00916.78
7.2.00.0070.00716.67
7.1.330.0090.00515.56
7.1.320.0060.00715.72
7.1.310.0050.00715.77
7.1.300.0040.00715.60
7.1.290.0030.00815.59
7.1.280.0050.00915.61
7.1.270.0050.00615.69
7.1.260.0050.00715.65
7.1.250.0070.00515.64
7.1.240.0080.00615.73
7.1.230.0070.00515.66
7.1.220.0050.00815.68
7.1.210.0080.00315.61
7.1.200.0050.00615.72
7.1.190.0040.01215.73
7.1.180.0080.00615.66
7.1.170.0070.00615.72
7.1.160.0020.01215.54
7.1.150.0040.01015.62
7.1.140.0050.01215.62
7.1.130.0020.01115.80
7.1.120.0090.00515.62
7.1.110.0050.00615.54
7.1.100.0070.00615.64
7.1.90.0060.00815.44
7.1.80.0060.00715.50
7.1.70.0060.00715.97
7.1.60.0100.00817.02
7.1.50.0100.00416.10
7.1.40.0070.00415.66
7.1.30.0090.00615.66
7.1.20.0060.01015.59
7.1.10.0090.00315.66
7.1.00.0080.02817.90
7.0.330.0050.00615.24
7.0.320.0080.00515.14
7.0.310.0040.01115.08
7.0.300.0030.01115.22
7.0.290.0050.01215.26
7.0.280.0080.00615.15
7.0.270.0060.00615.37
7.0.260.0070.00415.06
7.0.250.0080.00315.36
7.0.240.0090.00515.34
7.0.230.0080.00415.28
7.0.220.0080.00315.37
7.0.210.0090.00315.25
7.0.200.0090.00415.78
7.0.190.0080.00515.38
7.0.180.0090.00515.15
7.0.170.0070.00415.30
7.0.160.0050.01115.36
7.0.150.0030.00915.32
7.0.140.0040.02317.56
7.0.130.0030.00915.41
7.0.120.0040.01015.31
7.0.110.0080.00815.38
7.0.100.0060.00715.40
7.0.90.0050.00615.31
7.0.80.0070.00615.18
7.0.70.0050.00915.38
7.0.60.0070.02216.79
7.0.50.0050.03416.14
7.0.40.0060.02315.59
7.0.30.0160.01815.59
7.0.20.0160.03215.59
7.0.10.0130.01615.70
7.0.00.0050.03515.64
5.6.400.0050.00914.14
5.6.390.0050.00914.26
5.6.380.0060.00814.19
5.6.370.0060.01114.36
5.6.360.0040.00914.30
5.6.350.0100.00714.30
5.6.340.0060.00914.25
5.6.330.0030.01114.40
5.6.320.0080.00514.27
5.6.310.0020.01314.38
5.6.300.0080.00414.07
5.6.290.0020.01014.36
5.6.280.0050.03216.53
5.6.270.0110.00514.09
5.6.260.0100.00814.25
5.6.250.0040.00914.21
5.6.240.0060.00713.96
5.6.230.0080.00814.14
5.6.220.0060.01014.06
5.6.210.0060.01916.33
5.6.200.0100.02315.55
5.6.190.0020.02516.18
5.6.180.0050.03316.22
5.6.170.0140.01716.30
5.6.160.0090.03216.16
5.6.150.0070.01815.57
5.6.140.0070.02615.51
5.6.130.0070.02615.57
5.6.120.0090.02616.29
5.6.110.0080.02716.35
5.6.100.0090.01816.54
5.6.90.0060.03116.75
5.6.80.0060.02516.16
5.6.70.1500.01816.28
5.6.60.0050.00714.02
5.6.50.0080.00513.96
5.6.40.0070.00814.13
5.6.30.0060.00714.13
5.6.20.0030.00714.19
5.6.10.0040.01314.25
5.6.00.0090.00614.17
5.5.380.0020.01314.21
5.5.370.0070.01013.94
5.5.360.0030.00814.04
5.5.350.0050.02816.16
5.5.340.0080.03115.40
5.5.330.0070.01616.01
5.5.320.0170.02515.98
5.5.310.0100.02216.06
5.5.300.0040.01815.32
5.5.290.0060.01815.47
5.5.280.0050.02716.25
5.5.270.0090.02716.25
5.5.260.0090.03116.33
5.5.250.0070.03116.07
5.5.240.0050.03215.96
5.5.230.0120.00313.94
5.5.220.0070.00513.81
5.5.210.0060.00313.80
5.5.200.0030.00914.14
5.5.190.0040.00913.98
5.5.180.0080.00514.13
5.5.170.0070.00713.96
5.5.160.0070.00813.92
5.5.150.0060.00714.09
5.5.140.0040.00713.96
5.5.130.0050.00714.00
5.5.120.0030.01013.92
5.5.110.0050.01013.75
5.5.100.0080.00714.19
5.5.90.0050.00914.04
5.5.80.0030.01113.96
5.5.70.0060.00714.04
5.5.60.0060.00514.03
5.5.50.0070.00713.92
5.5.40.0020.01114.02
5.5.30.0020.00913.94
5.5.20.0020.00913.77
5.5.10.0100.00414.15
5.5.00.0050.00713.71
5.4.450.0240.02613.81
5.4.440.0340.02413.79
5.4.430.0100.02513.91
5.4.420.0330.02413.73
5.4.410.0470.03413.82
5.4.400.0350.02013.74
5.4.390.0290.02313.65
5.4.380.0080.02313.50
5.4.370.0100.02113.46
5.4.360.0050.02413.53
5.4.350.0110.02113.47
5.4.340.0110.01913.49
5.4.330.0030.00710.91
5.4.320.0110.02013.45
5.4.310.0090.02113.49
5.4.300.0160.01913.52
5.4.290.0110.02513.49
5.4.280.0080.02713.43
5.4.270.0110.02313.49
5.4.260.0090.02113.51
5.4.250.0110.02113.48
5.4.240.0070.02213.52
5.4.230.0090.02213.47
5.4.220.0120.01813.47
5.4.210.0060.02513.57
5.4.200.0060.02412.81
5.4.190.0150.01313.46
5.4.180.0060.02413.55
5.4.170.0130.02113.51
5.4.160.0140.01913.48
5.4.150.0060.02713.53
5.4.140.0130.02112.62
5.4.130.0080.02312.68
5.4.120.0090.01912.66
5.4.110.0080.02012.70
5.4.100.0130.01512.72
5.4.90.0110.01912.73
5.4.80.0120.01812.72
5.4.70.0080.02212.73
5.4.60.0080.02012.72
5.4.50.0070.02412.62
5.4.40.0130.01912.72
5.4.30.0100.02112.71
5.4.20.0110.01912.65
5.4.10.0090.01812.69
5.4.00.0110.01812.44
5.3.290.0230.05014.66
5.3.280.0170.05714.66
5.3.270.0130.06014.56
5.3.260.0100.06014.63
5.3.250.0130.05714.56
5.3.240.0200.05314.65
5.3.230.0270.04314.69
5.3.220.0200.05014.51
5.3.210.0230.05314.47
5.3.200.0230.06014.54
5.3.190.0230.04714.56
5.3.180.0100.06014.53
5.3.170.0070.06014.54
5.3.160.0170.05014.56
5.3.150.0200.05714.54
5.3.140.0330.03714.55
5.3.130.0170.05014.59
5.3.120.0100.05714.46
5.3.110.0170.05014.62
5.3.100.0100.05314.04
5.3.90.0130.05013.97
5.3.80.0130.04713.96
5.3.70.0100.05014.01
5.3.60.0130.05013.97
5.3.50.0130.04714.02
5.3.40.0130.05713.92
5.3.30.0130.05313.89
5.3.20.0230.04313.60
5.3.10.0170.05013.57
5.3.00.0200.04713.73
5.2.170.0170.04011.19
5.2.160.0230.03311.10
5.2.150.0170.04011.13
5.2.140.0170.03711.15
5.2.130.0030.04711.23
5.2.120.0070.04311.24
5.2.110.0030.05011.07
5.2.100.0070.04311.26
5.2.90.0100.04011.08
5.2.80.0100.04311.13
5.2.70.0130.03711.06
5.2.60.0030.04710.96
5.2.50.0130.03711.07
5.2.40.0100.04010.97
5.2.30.0070.04311.03
5.2.20.0100.03710.90
5.2.10.0070.04010.92
5.2.00.0070.04310.75
5.1.60.0000.04010.05
5.1.50.0170.02310.11
5.1.40.0170.02710.08
5.1.30.0170.03010.37
5.1.20.0130.03010.50
5.1.10.0100.03710.12
5.1.00.0070.03710.16
5.0.50.0100.0278.63
5.0.40.0130.0238.42
5.0.30.0070.0438.34
5.0.20.0170.0178.39
5.0.10.0030.0308.19
5.0.00.0000.0508.19
4.4.90.0000.0275.87
4.4.80.0070.0205.85
4.4.70.0030.0235.91
4.4.60.0030.0235.82
4.4.50.0000.0275.86
4.4.40.0030.0375.89
4.4.30.0070.0205.86
4.4.20.0000.0275.96
4.4.10.0070.0205.95
4.4.00.0000.0375.94
4.3.110.0030.0235.84
4.3.100.0070.0205.82
4.3.90.0070.0235.91
4.3.80.0000.0405.82
4.3.70.0000.0235.78
4.3.60.0000.0235.89
4.3.50.0000.0235.78
4.3.40.0000.0375.75
4.3.30.0030.0205.06
4.3.20.0000.0235.06
4.3.10.0100.0175.06
4.3.00.0230.01314.44

preferences:
38.33 ms | 403 KiB | 5 Q