3v4l.org

run code in 300+ PHP versions simultaneously
<?php $city = "Pune"; $pin= 413112; echo "I live in city $city $pin."; $str1 = $city. ",".$pin; $str2 .= $str3;

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.00718.56
8.3.50.0150.00721.99
8.3.40.0070.01118.71
8.3.30.0070.00718.62
8.3.20.0120.00318.54
8.3.10.0000.00821.10
8.3.00.0100.00017.68
8.2.180.0070.01418.55
8.2.170.0140.00022.96
8.2.160.0140.00420.55
8.2.150.0050.00324.18
8.2.140.0060.00324.66
8.2.130.0080.00026.16
8.2.120.0070.00021.00
8.2.110.0100.01420.35
8.2.100.0080.00417.84
8.2.90.0050.00219.27
8.2.80.0050.00317.97
8.2.70.0090.00317.50
8.2.60.0080.00017.93
8.2.50.0050.00518.07
8.2.40.0040.00418.28
8.2.30.0040.00421.13
8.2.20.0050.00217.77
8.2.10.0070.00017.89
8.2.00.0060.00317.75
8.1.280.0040.01125.92
8.1.270.0060.00323.99
8.1.260.0040.01126.35
8.1.250.0040.00428.09
8.1.240.0100.00022.48
8.1.230.0040.00820.88
8.1.220.0040.00418.77
8.1.210.0000.00818.97
8.1.200.0040.00417.35
8.1.190.0080.00017.53
8.1.180.0050.00218.10
8.1.170.0040.00418.70
8.1.160.0030.00518.76
8.1.150.0030.00618.53
8.1.140.0000.00717.45
8.1.130.0000.00717.77
8.1.120.0000.00717.41
8.1.110.0050.00317.44
8.1.100.0050.00217.38
8.1.90.0040.00417.40
8.1.80.0040.00417.43
8.1.70.0000.00717.35
8.1.60.0030.00917.62
8.1.50.0040.00417.38
8.1.40.0040.00417.47
8.1.30.0000.00817.57
8.1.20.0080.00017.64
8.1.10.0030.00617.50
8.1.00.0000.00917.38
8.0.300.0000.00719.96
8.0.290.0000.00717.04
8.0.280.0000.00818.30
8.0.270.0040.00417.30
8.0.260.0060.00016.77
8.0.250.0070.00016.96
8.0.240.0040.00416.96
8.0.230.0030.00316.91
8.0.220.0030.00316.91
8.0.210.0040.00416.95
8.0.200.0030.00317.04
8.0.190.0080.00016.96
8.0.180.0000.00917.00
8.0.170.0040.00316.95
8.0.160.0000.00716.93
8.0.150.0000.00716.91
8.0.140.0000.00716.80
8.0.130.0060.00213.33
8.0.120.0000.00816.94
8.0.110.0070.00017.00
8.0.100.0000.00716.79
8.0.90.0000.00717.00
8.0.80.0070.00716.95
8.0.70.0040.00416.81
8.0.60.0040.00416.79
8.0.50.0000.00716.90
8.0.30.0130.00617.02
8.0.20.0110.00917.40
8.0.10.0000.00717.04
8.0.00.0070.01316.79
7.4.330.0000.00416.81
7.4.320.0080.00016.54
7.4.300.0060.00016.41
7.4.290.0070.00016.59
7.4.280.0000.00816.40
7.4.270.0000.00716.53
7.4.260.0060.00013.26
7.4.250.0040.00416.43
7.4.240.0030.00316.59
7.4.230.0000.00716.59
7.4.220.0150.00316.44
7.4.210.0090.00716.50
7.4.200.0070.00016.24
7.4.190.0040.00416.59
7.4.160.0040.01216.58
7.4.150.0200.00317.40
7.4.140.0090.01217.86
7.4.130.0110.00716.45
7.4.120.0150.00316.51
7.4.110.0060.01016.32
7.4.100.0140.00516.49
7.4.90.0180.00016.32
7.4.80.0090.00919.39
7.4.70.0140.00716.41
7.4.60.0080.00816.34
7.4.50.0060.00316.43
7.4.40.0030.01222.77
7.4.30.0070.01516.36
7.4.00.0090.00614.91
7.3.330.0070.00013.07
7.3.320.0050.00013.15
7.3.310.0040.00416.27
7.3.300.0030.00316.33
7.3.290.0060.01016.36
7.3.280.0100.00616.27
7.3.270.0080.01217.40
7.3.260.0110.01218.24
7.3.250.0090.00816.54
7.3.240.0070.01316.20
7.3.230.0070.01016.39
7.3.210.0030.01216.41
7.3.200.0140.00319.39
7.3.190.0090.01216.45
7.3.180.0030.01316.30
7.3.170.0000.01716.46
7.3.160.0080.00816.34
7.3.120.0070.01114.93
7.2.330.0070.01116.38
7.2.320.0030.01416.63
7.2.310.0130.01016.59
7.2.300.0030.01316.72
7.2.290.0100.00616.61
7.2.00.0030.01219.27
7.1.100.0000.01217.95
7.1.70.0030.00617.21
7.1.60.0070.00716.86
7.1.50.0000.01816.80
7.1.00.0070.06322.45
7.0.200.0100.00716.94
7.0.140.0030.07321.98
7.0.60.0170.07319.86
7.0.50.0170.04717.83
7.0.40.0000.04719.98
7.0.30.0470.06020.09
7.0.20.0330.07020.16
7.0.10.0470.05020.20
7.0.00.0130.07320.16
5.6.280.0070.06721.06
5.6.210.0030.04320.74
5.6.200.0000.05718.13
5.6.190.0130.08020.77
5.6.180.0070.07320.25
5.6.170.0270.07720.48
5.6.160.0030.04720.37
5.6.150.0030.06318.09
5.6.140.0030.08318.20
5.6.130.0030.04718.21
5.6.120.0070.05021.13
5.6.110.0070.06321.03
5.6.100.0030.08721.02
5.6.90.0030.04720.99
5.6.80.0100.07720.35
5.6.70.0270.07320.40
5.5.350.0330.06320.34
5.5.340.0100.06318.02
5.5.330.0030.04020.29
5.5.320.0100.08020.41
5.5.310.0170.04020.20
5.5.300.0070.04017.95
5.5.290.0130.06718.02
5.5.280.0100.08020.89
5.5.270.0130.04020.95
5.5.260.0170.05320.95
5.5.250.0030.04020.69
5.5.240.0170.07020.14
5.4.450.0230.07319.57
5.4.440.0230.05719.24
5.4.430.0230.05319.56
5.4.420.0230.07319.13
5.4.410.0200.08019.33
5.4.400.0200.08019.17
5.4.390.0170.06319.09
5.4.380.0200.07719.13
5.4.370.0330.06319.06
5.4.360.0270.07319.10
5.4.350.0230.03718.88
5.4.340.0200.04019.13
5.4.320.0230.07018.79
5.4.310.0270.07719.07
5.4.300.0170.08019.16
5.4.290.0200.04719.25
5.4.280.0270.05019.21
5.4.270.0230.07018.79
5.4.260.0200.07019.25
5.4.250.0270.04718.82
5.4.240.0130.05319.24
5.4.230.0170.07318.77
5.4.220.0330.05719.23
5.4.210.0200.07319.04
5.4.200.0230.05718.92
5.4.190.0200.04719.05
5.4.180.0270.06719.22
5.4.170.0270.07719.06
5.4.160.0230.06018.85
5.4.150.0230.06018.79
5.4.140.0230.05716.60
5.4.130.0300.06316.45
5.4.120.0230.05316.25
5.4.110.0370.05316.06
5.4.100.0200.06716.43
5.4.90.0230.07016.22
5.4.80.0230.07316.37
5.4.70.0200.06316.48
5.4.60.0200.05716.36
5.4.50.0270.05016.36
5.4.40.0300.06316.41
5.4.30.0200.06716.32
5.4.20.0230.06716.36
5.4.10.0200.04016.36
5.4.00.0270.05015.89
5.3.290.0300.05714.61
5.3.280.0230.07714.48
5.3.270.0170.04314.63
5.3.260.0230.07014.58
5.3.250.0270.06014.44
5.3.240.0270.08014.54
5.3.230.0200.05314.68
5.3.220.0370.03714.67
5.3.210.0230.06714.40
5.3.200.0170.08014.61
5.3.190.0300.05314.41
5.3.180.0330.06714.46
5.3.170.0300.06714.46
5.3.160.0330.06014.46
5.3.150.0230.07014.50
5.3.140.0170.06014.53
5.3.130.0170.07714.45
5.3.120.0300.07014.39
5.3.110.0270.06714.59
5.3.100.0130.04013.98
5.3.90.0230.07013.88
5.3.80.0200.07713.96
5.3.70.0230.07014.06
5.3.60.0200.06713.98
5.3.50.0270.06313.98
5.3.40.0330.04013.85
5.3.30.0270.06013.70
5.3.20.0230.06313.64
5.3.10.0170.05713.51
5.3.00.0100.08313.61
5.2.170.0200.03012.34
5.2.160.0130.03312.34
5.2.150.0130.04712.34
5.2.140.0170.06012.34
5.2.130.0170.03312.34
5.2.120.0170.04712.34
5.2.110.0370.04712.34
5.2.100.0100.04712.34
5.2.90.0200.03012.34
5.2.80.0170.03012.34
5.2.70.0200.05312.34
5.2.60.0200.04312.34
5.2.50.0230.04312.34
5.2.40.0030.06712.34
5.2.30.0200.05712.34
5.2.20.0170.05012.34
5.2.10.0170.06012.34
5.2.00.0130.06012.34
5.1.60.0170.04012.34
5.1.50.0170.03312.34
5.1.40.0130.03012.34
5.1.30.0270.04312.34
5.1.20.0230.05012.34
5.1.10.0230.03012.34
5.1.00.0130.03712.34
5.0.50.0070.04312.34
5.0.40.0100.04012.34
5.0.30.0130.05712.34
5.0.20.0070.03312.34
5.0.10.0070.04712.34
5.0.00.0100.03012.34
4.4.90.0170.02712.34
4.4.80.0070.02312.34
4.4.70.0100.03012.34
4.4.60.0170.03012.34
4.4.50.0230.02712.34
4.4.40.0070.04012.34
4.4.30.0030.03312.34
4.4.20.0070.01712.34
4.4.10.0100.03312.34
4.4.00.0170.05012.34
4.3.110.0070.02712.34
4.3.100.0070.02312.34
4.3.90.0030.03312.34
4.3.80.0230.03312.34
4.3.70.0100.03312.34
4.3.60.0130.02312.34
4.3.50.0130.02712.34
4.3.40.0070.04012.34
4.3.30.0070.02012.34
4.3.20.0100.03012.34
4.3.10.0030.03312.34
4.3.00.0030.03312.34

preferences:
41.14 ms | 401 KiB | 5 Q