3v4l.org

run code in 300+ PHP versions simultaneously
<?php $city = "Pune"; $pin= 413112; $str3= "Sachin"; 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.70.0090.00616.75
8.3.60.0060.01218.20
8.3.50.0140.00422.08
8.3.40.0190.00318.98
8.3.30.0110.00418.67
8.3.20.0150.00018.83
8.3.10.0040.00421.00
8.3.00.0070.00317.80
8.2.180.0070.01418.51
8.2.170.0090.00922.96
8.2.160.0170.00020.47
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0000.00721.18
8.2.110.0100.00020.47
8.2.100.0030.00717.84
8.2.90.0000.00719.21
8.2.80.0000.00817.97
8.2.70.0000.00817.63
8.2.60.0030.00618.03
8.2.50.0060.00318.07
8.2.40.0000.00918.22
8.2.30.0030.00521.13
8.2.20.0040.00417.65
8.2.10.0000.00817.66
8.2.00.0000.00717.79
8.1.280.0120.00325.92
8.1.270.0030.00523.99
8.1.260.0000.00826.35
8.1.250.0060.00328.09
8.1.240.0080.00022.64
8.1.230.0070.00320.90
8.1.220.0000.00918.77
8.1.210.0030.00618.91
8.1.200.0060.00317.35
8.1.190.0040.00417.53
8.1.180.0050.00318.10
8.1.170.0040.00418.66
8.1.160.0030.00618.86
8.1.150.0070.00018.48
8.1.140.0000.00717.34
8.1.130.0070.00017.72
8.1.120.0000.00717.45
8.1.110.0070.00017.44
8.1.100.0070.00017.47
8.1.90.0040.00417.45
8.1.80.0040.00417.32
8.1.70.0000.00717.38
8.1.60.0030.00917.45
8.1.50.0000.00717.49
8.1.40.0090.00017.49
8.1.30.0090.00017.56
8.1.20.0050.00317.63
8.1.10.0000.01017.51
8.1.00.0050.00317.36
8.0.300.0000.00720.07
8.0.290.0050.00317.18
8.0.280.0030.00318.41
8.0.270.0030.00317.16
8.0.260.0030.00316.74
8.0.250.0070.00016.99
8.0.240.0060.00316.95
8.0.230.0050.00217.02
8.0.220.0030.00316.84
8.0.210.0040.00416.93
8.0.200.0070.00016.87
8.0.190.0020.00516.88
8.0.180.0040.00416.95
8.0.170.0030.00316.95
8.0.160.0020.00516.98
8.0.150.0000.00816.95
8.0.140.0000.00716.87
8.0.130.0030.00313.33
8.0.120.0040.00416.91
8.0.110.0000.00717.04
8.0.100.0030.00316.81
8.0.90.0000.00716.85
8.0.80.0060.00916.91
8.0.70.0050.00216.82
8.0.60.0080.00016.77
8.0.50.0050.00316.81
8.0.30.0110.00717.13
8.0.20.0070.01217.40
8.0.10.0020.00517.04
8.0.00.0130.00716.79
7.4.330.0040.00016.77
7.4.320.0090.00016.49
7.4.300.0000.00616.48
7.4.290.0000.00616.52
7.4.280.0040.00716.49
7.4.270.0000.00716.48
7.4.260.0030.00313.17
7.4.250.0040.00416.47
7.4.240.0070.00016.46
7.4.230.0060.00016.50
7.4.220.0130.01016.39
7.4.210.0100.00616.51
7.4.200.0000.00716.42
7.4.190.0000.00716.46
7.4.160.0050.01416.62
7.4.150.0130.00717.40
7.4.140.0140.00317.86
7.4.130.0100.01016.37
7.4.120.0110.00716.42
7.4.110.0060.00916.41
7.4.100.0140.01016.58
7.4.90.0030.01516.58
7.4.80.0060.01019.39
7.4.70.0000.01616.61
7.4.60.0060.01116.39
7.4.50.0030.00616.44
7.4.40.0090.00622.77
7.4.30.0070.01016.41
7.4.00.0060.00814.95
7.3.330.0050.00313.15
7.3.320.0050.00013.06
7.3.310.0000.00716.39
7.3.300.0000.00716.28
7.3.290.0060.01316.42
7.3.280.0050.01116.31
7.3.270.0130.01017.40
7.3.260.0230.01318.24
7.3.250.0110.00716.38
7.3.240.0140.00316.50
7.3.230.0100.00616.48
7.3.210.0100.00716.44
7.3.200.0120.00919.39
7.3.190.0090.01216.55
7.3.180.0060.00916.52
7.3.170.0120.00916.37
7.3.160.0120.00916.41
7.3.120.0060.01014.86
7.3.110.0130.00314.85
7.3.100.0030.01215.07
7.3.90.0030.01314.95
7.3.80.0070.00314.90
7.3.70.0060.00614.88
7.3.60.0060.00314.58
7.3.50.0060.00314.86
7.3.40.0090.00914.84
7.3.30.0150.00314.61
7.3.20.0120.00616.39
7.3.10.0030.01416.72
7.3.00.0000.01216.65
7.2.330.0070.01016.57
7.2.320.0090.00916.71
7.2.310.0070.01716.50
7.2.300.0110.00616.55
7.2.290.0070.00916.43
7.2.250.0070.01014.91
7.2.240.0090.00914.95
7.2.230.0100.00715.17
7.2.220.0040.01114.99
7.2.210.0070.00415.20
7.2.200.0060.00614.95
7.2.190.0090.00014.78
7.2.180.0040.00814.98
7.2.170.0130.00614.64
7.2.60.0070.00716.84
7.2.00.0000.01319.42
7.1.330.0110.00415.43
7.1.320.0100.00315.99
7.1.310.0060.00315.92
7.1.300.0090.00315.77
7.1.290.0100.00715.58
7.1.280.0000.01315.96
7.1.270.0100.00715.96
7.1.260.0030.00615.64
7.1.200.0000.01015.90
7.1.70.0030.00716.93
7.1.60.0030.00817.17
7.1.50.0070.00316.88
7.1.40.0090.00916.49
7.1.30.0060.00616.65
7.1.20.0000.01316.68
7.1.10.0000.01116.48
7.1.00.0040.00416.51
7.0.200.0030.00616.64
7.0.190.0050.00216.74
7.0.180.0000.01316.48
7.0.170.0000.01016.48
7.0.160.0030.01416.48
7.0.150.0000.00916.48
7.0.140.0040.01816.48
7.0.130.0000.01016.49
7.0.120.0000.01416.49
7.0.110.0040.00416.48
7.0.100.0070.00016.48
7.0.90.0000.00816.48
7.0.80.0040.00416.48
7.0.70.0070.00716.48
7.0.60.0030.01016.48
7.0.50.0080.00016.48
7.0.40.0040.00416.48
7.0.30.0040.00416.48
7.0.20.0070.00716.48
7.0.10.0030.01316.48
7.0.00.0040.00416.48
5.6.300.0030.05020.87
5.6.290.0030.05020.59
5.6.280.0030.07320.88
5.6.270.0030.04620.89
5.6.260.0000.04720.80
5.6.250.0130.05720.86
5.6.240.0000.05720.85
5.6.230.0100.04720.92
5.6.220.0100.03720.83
5.6.210.0070.07820.80
5.6.200.0130.03220.83
5.6.190.0070.03620.82
5.6.180.0100.03521.00
5.6.170.0100.05920.80
5.6.160.0030.04620.94
5.6.150.0070.09220.81
5.6.140.0060.04520.75
5.6.130.0160.03820.81
5.6.120.0100.03520.75
5.6.110.0070.05920.80
5.6.100.0070.04220.79
5.6.90.0030.04020.80
5.6.80.0000.04120.38
5.6.70.0000.05320.16
5.6.60.0070.07820.35
5.6.50.0000.05920.36
5.6.40.0000.06920.31
5.6.30.0030.04320.33
5.6.20.0030.03920.20
5.6.10.0000.04220.30
5.6.00.0100.03220.26
5.5.380.0060.05517.55
5.5.370.0230.03317.47
5.5.360.0000.04317.54
5.5.350.0030.04117.47
5.5.340.0000.04318.13
5.5.330.0040.04117.84
5.5.320.0090.04717.92
5.5.310.0060.05218.01
5.5.300.0000.04417.97
5.5.290.0030.08118.00
5.5.280.0000.05217.83
5.5.270.0000.04417.94
5.5.260.0030.05317.92
5.5.250.0030.04017.93
5.5.240.0070.03317.40
5.5.230.0070.05417.40
5.5.220.0000.04017.07
5.5.210.0030.07617.39
5.5.200.0130.03817.06
5.5.190.0100.04117.32
5.5.180.0030.04517.42
5.5.160.0070.07217.31
5.5.150.0030.05617.47
5.5.140.0030.04517.34
5.5.130.0060.03817.34
5.5.120.0030.05617.09
5.5.110.0060.04117.28
5.5.100.0030.04417.08
5.5.90.0030.04217.27
5.5.80.0060.04117.27
5.5.70.0060.03817.27
5.5.60.0040.04317.31
5.5.50.0070.03617.23
5.5.40.0160.02517.18
5.5.30.0030.05117.27
5.5.20.0030.04116.95
5.5.10.0060.04017.22
5.5.00.0100.03517.27
5.4.450.0000.04619.27
5.4.440.0060.05519.37
5.4.430.0100.04919.18
5.4.420.0070.04019.26
5.4.410.0030.04019.14
5.4.400.0030.05519.05
5.4.390.0100.04518.86
5.4.380.0000.04018.98
5.4.370.0000.07218.83
5.4.360.0030.04219.04
5.4.350.0100.03519.05
5.4.340.0030.03819.11
5.4.320.0070.05619.05
5.4.310.0060.04118.97
5.4.300.0030.04419.04
5.4.290.0070.03919.10
5.4.280.0030.05219.01
5.4.270.0160.03318.98
5.4.260.0070.04418.88
5.4.250.0160.03219.06
5.4.240.0030.04119.03
5.4.230.0070.03918.85
5.4.220.0060.04119.10
5.4.210.0100.04118.95
5.4.200.0070.04118.97
5.4.190.0090.03818.82
5.4.180.0000.04518.93
5.4.170.0070.03818.91
5.4.160.0130.04418.92
5.4.150.0000.04518.93
5.4.140.0090.03616.57
5.4.130.0100.04116.48
5.4.120.0070.03616.57
5.4.110.0150.03116.55
5.4.100.0070.03816.48
5.4.90.0060.03716.48
5.4.80.0100.03216.48
5.4.70.0100.03016.48
5.4.60.0070.08216.48
5.4.50.0100.03616.48
5.4.40.0160.05516.50
5.4.30.0030.03716.59
5.4.20.0000.04416.64
5.4.10.0170.03316.48
5.4.00.0070.03716.48
5.3.290.0030.07916.48
5.3.280.0030.03816.48
5.3.270.0070.03916.48
5.3.260.0030.04116.48
5.3.250.0100.03516.48
5.3.240.0130.03916.48
5.3.230.0100.03616.48
5.3.220.0040.04316.48
5.3.210.0030.04116.48
5.3.200.0070.03716.48
5.3.190.0280.03116.48
5.3.180.0130.04216.48
5.3.170.0000.04016.48
5.3.160.0030.04116.48
5.3.150.0090.03116.48
5.3.140.0030.05216.48
5.3.130.0030.04516.48
5.3.120.0090.04716.48
5.3.110.0000.04616.48
5.3.100.0030.04016.48
5.3.90.0070.03716.48
5.3.80.0040.04216.48
5.3.70.0060.03916.48
5.3.60.0030.05516.48
5.3.50.0030.03716.48
5.3.40.0030.04016.48
5.3.30.0000.04316.48
5.3.20.0070.05616.48
5.3.10.0070.04116.48
5.3.00.0270.02716.48
5.2.170.0030.03416.48
5.2.160.0070.03116.48
5.2.150.0120.02316.48
5.2.140.0060.03216.48
5.2.130.0060.02916.48
5.2.120.0030.03516.48
5.2.110.0040.02916.48
5.2.100.0070.03316.48
5.2.90.0000.03816.48
5.2.80.0060.03816.48
5.2.70.0070.02616.48
5.2.60.0030.03316.48
5.2.50.0030.02816.48
5.2.40.0060.03016.48
5.2.30.0030.05416.48
5.2.20.0070.05616.48
5.2.10.0000.02916.48
5.2.00.0030.03816.48
5.1.60.0000.02816.48
5.1.50.0040.02516.48
5.1.40.0030.03216.48
5.1.30.0090.02216.48
5.1.20.0030.02716.48
5.1.10.0100.02516.48
5.1.00.0030.02616.48
5.0.50.0110.02216.48
5.0.40.0040.04016.48
5.0.30.0000.03516.48
5.0.20.0000.03216.48
5.0.10.0030.03516.48
5.0.00.0000.03716.48
4.4.90.0000.02116.48
4.4.80.0030.01416.48
4.4.70.0030.01916.48
4.4.60.0030.01416.48
4.4.50.0030.03116.48
4.4.40.0070.01816.48
4.4.30.0000.01816.48
4.4.20.0000.02316.48
4.4.10.0030.03416.48
4.4.00.0000.03016.48
4.3.110.0120.01216.48
4.3.100.0000.02016.48
4.3.90.0040.01416.48
4.3.80.0070.02416.48
4.3.70.0000.01916.48
4.3.60.0070.01016.48
4.3.50.0030.01516.48
4.3.40.0060.03116.48
4.3.30.0030.01816.48
4.3.20.0000.01816.48
4.3.10.0030.02016.48
4.3.00.0030.01416.48

preferences:
60.69 ms | 401 KiB | 5 Q