3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = json_encode(array( 'template' => array( 'location' => 'AS', 'suffix' => 'C', 'skin' => null, 'language' => 'en_GB', ), 'client' => array( 'accountno' => '200222333P', 'name' => 'Mr Miguel Liebana', ))); echo $a;

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.0040.01218.54
8.3.30.0070.00718.83
8.3.20.0030.00520.31
8.3.10.0080.00021.92
8.3.00.0070.00022.52
8.2.170.0140.00022.96
8.2.160.0070.00720.38
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0000.00817.50
8.2.110.0030.00621.95
8.2.100.0090.00319.45
8.2.90.0050.00319.11
8.2.80.0000.00717.97
8.2.70.0060.00317.75
8.2.60.0030.00617.93
8.2.50.0040.00418.07
8.2.40.0000.00818.16
8.2.30.0070.00017.93
8.2.20.0030.00517.67
8.2.10.0040.00419.34
8.2.00.0040.00417.57
8.1.270.0040.00421.92
8.1.260.0070.01026.35
8.1.250.0080.00028.09
8.1.240.0060.00323.97
8.1.230.0040.00719.16
8.1.220.0000.00817.74
8.1.210.0090.00018.77
8.1.200.0060.00317.22
8.1.190.0000.00817.53
8.1.180.0080.00018.10
8.1.170.0060.00318.50
8.1.160.0040.00421.92
8.1.150.0040.00418.60
8.1.140.0060.00317.37
8.1.130.0040.00417.82
8.1.120.0050.00317.43
8.1.110.0040.00417.37
8.1.100.0000.00717.32
8.1.90.0030.00417.32
8.1.80.0040.00417.27
8.1.70.0000.00717.31
8.1.60.0030.00617.39
8.1.50.0000.00817.36
8.1.40.0000.00717.48
8.1.30.0040.00417.55
8.1.20.0040.00417.46
8.1.10.0000.00817.59
8.1.00.0000.00717.43
8.0.300.0040.00418.77
8.0.290.0070.00017.18
8.0.280.0000.00718.47
8.0.270.0040.00417.20
8.0.260.0060.00016.71
8.0.250.0070.00016.90
8.0.240.0040.00416.81
8.0.230.0000.00716.89
8.0.220.0000.00616.84
8.0.210.0000.00716.80
8.0.200.0000.00716.89
8.0.190.0040.00416.84
8.0.180.0070.00016.83
8.0.170.0070.00016.89
8.0.160.0000.00716.88
8.0.150.0030.00316.82
8.0.140.0000.00716.80
8.0.130.0050.00013.25
8.0.120.0040.00416.72
8.0.110.0000.00716.70
8.0.100.0050.00316.79
8.0.90.0000.00716.80
8.0.80.0100.00916.75
8.0.70.0040.00416.83
8.0.60.0000.00716.77
8.0.50.0070.00016.79
8.0.30.0140.00916.86
8.0.20.0140.00417.40
8.0.10.0070.00017.00
8.0.00.0120.00516.72
7.4.330.0030.00315.13
7.4.320.0000.00616.52
7.4.300.0000.00616.50
7.4.290.0000.00716.52
7.4.280.0090.00016.46
7.4.270.0070.00016.50
7.4.260.0000.00716.43
7.4.250.0000.00716.43
7.4.240.0000.00716.46
7.4.230.0070.00016.26
7.4.220.0160.00616.29
7.4.210.0050.00916.49
7.4.200.0030.00316.59
7.4.190.0070.00016.37
7.4.160.0100.00716.41
7.4.150.0050.01117.40
7.4.140.0100.01017.86
7.4.130.0120.00916.64
7.4.120.0130.00416.31
7.4.110.0090.00916.46
7.4.100.0160.00816.38
7.4.90.0180.00016.63
7.4.80.0060.01019.39
7.4.70.0040.01216.39
7.4.60.0030.01316.24
7.4.50.0080.00016.35
7.4.40.0030.01022.77
7.4.30.0120.00416.57
7.4.00.0030.01214.74
7.3.330.0040.00412.93
7.3.320.0030.00312.88
7.3.310.0030.00316.18
7.3.300.0000.00616.00
7.3.290.0030.01316.14
7.3.280.0090.00916.17
7.3.270.0100.00717.40
7.3.260.0000.02016.47
7.3.250.0130.00716.39
7.3.240.0150.00316.24
7.3.230.0160.00716.42
7.3.210.0060.01616.07
7.3.200.0150.00319.39
7.3.190.0110.00616.19
7.3.180.0080.01116.21
7.3.170.0060.00916.27
7.3.160.0060.01316.17
7.3.120.0050.01114.63
7.3.110.0090.00614.42
7.3.100.0070.00714.51
7.3.90.0070.00414.74
7.3.80.0030.01014.44
7.3.70.0040.00714.56
7.3.60.0040.01114.67
7.3.50.0120.00614.84
7.3.40.0110.00414.57
7.3.30.0030.01014.55
7.3.20.0100.00716.55
7.3.10.0100.00316.57
7.3.00.0040.01116.48
7.2.330.0070.01016.55
7.2.320.0140.00916.30
7.2.310.0030.01316.68
7.2.300.0080.00816.64
7.2.290.0130.01016.43
7.2.250.0070.01114.77
7.2.240.0110.00814.96
7.2.230.0060.00914.77
7.2.220.0030.01314.98
7.2.210.0030.01014.78
7.2.200.0000.01514.81
7.2.190.0000.01314.59
7.2.180.0030.01715.00
7.2.170.0070.00714.90
7.1.330.0100.00715.80
7.1.320.0000.01515.91
7.1.310.0000.01115.65
7.1.300.0100.00315.71
7.1.290.0030.00915.70
7.1.280.0030.00815.45
7.1.270.0060.01215.84
7.1.260.0060.00315.71
7.1.70.0040.00417.06
7.1.60.0070.01419.82
7.1.50.0070.01816.86
7.1.00.0000.08022.27
7.0.200.0120.00016.64
7.0.140.0070.07021.98
7.0.90.0600.08019.91
7.0.80.0500.06319.86
7.0.70.0530.06720.00
7.0.60.0600.07020.01
7.0.50.0570.07720.29
7.0.40.0230.03320.11
7.0.30.0030.07020.11
7.0.20.0100.04320.10
7.0.10.0070.04020.02
7.0.00.0100.08319.95
5.6.280.0000.07721.12
5.6.240.0070.07720.52
5.6.230.0030.04320.58
5.6.220.0000.04320.61
5.6.210.0100.04720.60
5.6.200.0130.07721.13
5.6.190.0130.07321.00
5.6.180.0070.08720.95
5.6.170.0070.08320.92
5.6.160.0070.08721.11
5.6.150.0100.05321.09
5.6.140.0030.05320.92
5.6.130.0070.07721.09
5.6.120.0030.04320.94
5.6.110.0070.04021.15
5.6.100.0000.04321.02
5.6.90.0000.04321.02
5.6.80.0070.04020.42
5.6.70.0030.04020.39
5.6.60.0030.08020.24
5.6.50.0030.04720.31
5.6.40.0030.07020.52
5.6.30.0070.06020.49
5.6.20.0070.08020.43
5.6.10.0100.03720.42
5.6.00.0000.08320.27
5.5.380.0130.04720.45
5.5.370.0130.04720.38
5.5.360.0070.08320.40
5.5.350.0100.04720.41
5.5.340.0130.04320.79
5.5.330.0070.04320.79
5.5.320.0070.04720.80
5.5.310.0100.05720.87
5.5.300.0000.07020.79
5.5.290.0070.05020.77
5.5.280.0170.06720.82
5.5.270.0100.05320.82
5.5.260.0000.05020.78
5.5.250.0030.04020.69
5.5.240.0030.04320.16
5.5.230.0030.04720.14
5.5.220.0030.04020.12
5.5.210.0000.08020.20
5.5.200.0130.07720.27
5.5.190.0030.04020.12
5.5.180.0030.04020.07
5.5.160.0070.04320.16
5.5.150.0070.03720.11
5.5.140.0030.05020.24
5.5.130.0100.03320.23
5.5.120.0100.04020.18
5.5.110.0030.05020.19
5.5.100.0000.05320.15
5.5.90.0070.06720.08
5.5.80.0000.04320.15
5.5.70.0030.04019.95
5.5.60.0000.04320.13
5.5.50.0070.05720.14
5.5.40.0000.04020.04
5.5.30.0030.03719.94
5.5.20.0000.03720.04
5.5.10.0070.03320.10
5.5.00.0000.04320.11
5.4.450.0030.04719.44
5.4.440.0070.05719.38
5.4.430.0070.03719.39
5.4.420.0030.04019.21
5.4.410.0030.03719.34
5.4.400.0070.03719.08
5.4.390.0000.04018.99
5.4.380.0070.03019.11
5.4.370.0070.06019.03
5.4.360.0070.06318.93
5.4.350.0030.04318.79
5.4.340.0130.04019.14
5.4.320.0070.03719.09
5.4.310.0070.03319.11
5.4.300.0100.03719.23
5.4.290.0030.03718.77
5.4.280.0130.02718.96
5.4.270.0030.03318.98
5.4.260.0000.04019.12
5.4.250.0070.07718.88
5.4.240.0030.03019.11
5.4.230.0030.03019.22
5.4.220.0070.03018.88
5.4.210.0030.03318.77
5.4.200.0130.05318.80
5.4.190.0000.03319.03
5.4.180.0000.04018.95
5.4.170.0000.04018.96
5.4.160.0100.03018.91
5.4.150.0000.04319.09
5.4.140.0000.04016.23
5.4.130.0030.07716.22
5.4.120.0000.04716.31
5.4.110.0170.04316.27
5.4.100.0070.06316.40
5.4.90.0170.06716.34
5.4.80.0170.03016.16
5.4.70.0070.04016.30
5.4.60.0070.07316.40
5.4.50.0070.05016.21
5.4.40.0100.04016.26
5.4.30.0070.03716.33
5.4.20.0070.07716.22
5.4.10.0130.06716.39
5.4.00.0070.05015.77
5.3.290.0070.03714.61
5.3.280.0070.03014.45
5.3.270.0100.05014.56
5.3.260.0130.03714.58
5.3.250.0030.03014.61
5.3.240.0030.03014.44
5.3.230.0130.06014.60
5.3.220.0070.03714.55
5.3.210.0070.05014.39
5.3.200.0030.07714.57
5.3.190.0030.06714.48
5.3.180.0030.06714.51
5.3.170.0000.08314.54
5.3.160.0000.08014.51
5.3.150.0100.07014.55
5.3.140.0130.06714.55
5.3.130.0130.07014.38
5.3.120.0100.07014.55
5.3.110.0100.04314.37
5.3.100.0130.07013.89
5.3.90.0030.07313.93
5.3.80.0030.04313.87
5.3.70.0130.07013.97
5.3.60.0030.07713.97
5.3.50.0100.05313.90
5.3.40.0100.03713.80
5.3.30.0100.04013.84
5.3.20.0130.06313.54
5.3.10.0030.07013.60
5.3.00.0000.07013.42
5.2.170.0070.06311.18
5.2.160.0070.02710.99
5.2.150.0070.06311.13
5.2.140.0000.03310.93
5.2.130.0070.05711.06
5.2.120.0130.05311.02
5.2.110.0070.04011.17
5.2.100.0070.06010.96
5.2.90.0030.06011.17
5.2.80.0070.04311.11
5.2.70.0030.03711.12
5.2.60.0030.05310.97
5.2.50.0030.05011.09
5.2.40.0070.04710.99
5.2.30.0070.04311.02
5.2.20.0030.04010.94
5.2.10.0070.04010.89
5.2.00.0130.04010.80
5.1.60.0030.03710.05
5.1.50.0130.03310.05
5.1.40.0100.0479.96
5.1.30.0070.05710.41
5.1.20.0030.05710.39
5.1.10.0070.05310.13
5.1.00.0030.05010.13
5.0.50.0000.0408.55
5.0.40.0070.0278.49
5.0.30.0000.0638.30
5.0.20.0030.0438.25
5.0.10.0000.0238.19
5.0.00.0000.0508.19
4.4.90.0000.0378.19
4.4.80.0070.0308.19
4.4.70.0100.0178.19
4.4.60.0070.0308.19
4.4.50.0030.0208.19
4.4.40.0100.0208.19
4.4.30.0030.0208.19
4.4.20.0030.0338.19
4.4.10.0030.0238.19
4.4.00.0030.0538.19
4.3.110.0030.0208.19
4.3.100.0030.0208.19
4.3.90.0000.0178.19
4.3.80.0070.0278.19
4.3.70.0030.0178.19
4.3.60.0070.0108.19
4.3.50.0070.0308.19
4.3.40.0030.0408.19
4.3.30.0030.0378.19
4.3.20.0070.0238.19
4.3.10.0030.0278.19
4.3.00.0000.0308.19

preferences:
40.19 ms | 400 KiB | 5 Q