3v4l.org

run code in 300+ PHP versions simultaneously
<pre><?php $x = [ 'email' => 'test@esky.pl', 'list_id' => 100, 'additional' => 'pipe=separated|additional=values|system=iOS|system version=10.0 RC' ]; print_r(json_encode($x)); $x = [ 'email' => 'test@esky.pl', 'id' => 100, 'additional_data' => [ 'system' => 'iOS', 'system version' => '10.0 RC' ]]; print_r(json_encode($x));

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.46
8.4.10.0080.00017.33
8.3.150.0160.00316.93
8.3.140.0110.00718.23
8.3.130.0090.00616.43
8.3.120.0100.00018.72
8.3.110.0030.00616.54
8.3.100.0070.01124.06
8.3.90.0080.00026.77
8.3.80.0030.00616.36
8.3.70.0140.00718.43
8.3.60.0090.01218.31
8.3.50.0140.01021.16
8.3.40.0110.00418.67
8.3.30.0100.00318.93
8.3.20.0070.00020.38
8.3.10.0040.00423.48
8.3.00.0090.00619.13
8.2.270.0160.00316.74
8.2.260.0000.00818.91
8.2.250.0040.00418.47
8.2.240.0090.00017.28
8.2.230.0000.00820.94
8.2.220.0060.00337.54
8.2.210.0050.00326.77
8.2.200.0030.00616.50
8.2.190.0040.01116.75
8.2.180.0070.01016.63
8.2.170.0070.00722.96
8.2.160.0070.00720.34
8.2.150.0120.00624.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00721.05
8.2.110.0030.00621.13
8.2.100.0000.01217.72
8.2.90.0030.00618.12
8.2.80.0040.00417.97
8.2.70.0030.00617.38
8.2.60.0040.00417.93
8.2.50.0030.00618.07
8.2.40.0000.00819.75
8.2.30.0040.00417.92
8.2.20.0000.00817.73
8.2.10.0030.00517.87
8.2.00.0000.00717.68
8.1.310.0000.00816.76
8.1.300.0050.00318.41
8.1.290.0040.00418.88
8.1.280.0070.01425.92
8.1.270.0040.00422.19
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0080.00419.51
8.1.230.0040.00820.91
8.1.220.0000.00717.74
8.1.210.0040.00418.77
8.1.200.0000.00917.23
8.1.190.0040.00416.99
8.1.180.0030.00518.10
8.1.170.0040.00818.52
8.1.160.0040.00421.94
8.1.150.0040.00418.77
8.1.140.0040.00417.38
8.1.130.0040.00417.73
8.1.120.0000.00717.31
8.1.110.0000.00817.42
8.1.100.0040.00417.36
8.1.90.0040.00417.36
8.1.80.0000.00717.38
8.1.70.0000.00717.27
8.1.60.0060.00317.50
8.1.50.0080.00017.35
8.1.40.0040.00417.49
8.1.30.0000.00817.55
8.1.20.0030.00617.45
8.1.10.0000.00717.54
8.1.00.0000.00717.33
8.0.300.0040.00320.16
8.0.290.0050.00216.63
8.0.280.0030.00518.44
8.0.270.0030.00316.69
8.0.260.0030.00317.17
8.0.250.0040.00416.94
8.0.240.0000.00716.88
8.0.230.0040.00416.77
8.0.220.0070.00016.74
8.0.210.0040.00416.74
8.0.200.0060.00016.93
8.0.190.0000.00816.77
8.0.180.0000.00716.86
8.0.170.0030.00516.81
8.0.160.0040.00416.84
8.0.150.0050.00216.75
8.0.140.0000.00816.75
8.0.130.0030.00313.24
8.0.120.0060.00316.77
8.0.110.0040.00416.73
8.0.100.0080.00016.76
8.0.90.0040.00416.63
8.0.80.0100.01016.89
8.0.70.0070.00016.73
8.0.60.0030.00416.87
8.0.50.0030.00516.81
8.0.30.0110.01016.99
8.0.20.0100.01217.40
8.0.10.0000.00716.94
8.0.00.0100.00916.68
7.4.330.0060.00015.02
7.4.320.0090.00016.44
7.4.300.0060.00016.45
7.4.290.0030.00316.48
7.4.280.0000.00616.45
7.4.270.0070.00016.44
7.4.260.0030.00516.32
7.4.250.0070.00016.50
7.4.240.0070.00016.49
7.4.230.0030.00316.33
7.4.220.0180.00716.54
7.4.210.0060.00916.46
7.4.200.0040.00416.65
7.4.160.0040.01116.48
7.4.150.0170.00317.40
7.4.140.0090.00817.86
7.4.130.0070.00916.43
7.4.120.0100.00716.35
7.4.110.0080.01516.40
7.4.100.0110.00616.41
7.4.90.0100.00716.32
7.4.80.0150.00319.39
7.4.70.0080.01116.42
7.4.60.0070.01016.56
7.4.50.0000.00916.05
7.4.40.0160.00716.32
7.4.30.0100.01016.38
7.4.00.0110.00714.68
7.3.330.0000.00713.04
7.3.320.0000.00713.12
7.3.310.0030.00316.19
7.3.300.0030.00315.99
7.3.290.0070.00816.16
7.3.280.0090.00816.11
7.3.270.0100.01017.40
7.3.260.0090.00916.18
7.3.250.0160.00516.22
7.3.240.0090.00616.25
7.3.230.0070.01016.39
7.3.210.0090.00616.43
7.3.200.0030.01519.39
7.3.190.0100.01316.16
7.3.180.0120.00316.39
7.3.170.0100.00716.27
7.3.160.0080.00816.38
7.2.330.0130.00316.60
7.2.320.0120.00616.66
7.2.310.0120.00616.32
7.2.300.0030.01316.28
7.2.290.0070.01016.45
7.2.00.0060.00618.95
7.1.100.0030.00917.82
7.1.70.0000.00717.19
7.1.60.0030.02019.11
7.1.50.0100.01417.02
7.1.00.0030.07722.48
7.0.200.0030.00716.88
7.0.140.0000.07322.01
7.0.90.0030.07719.98
7.0.80.0070.08019.86
7.0.70.0700.07320.12
7.0.60.0500.04319.97
7.0.50.0500.08020.30
7.0.40.0030.05320.19
7.0.30.0030.08320.11
7.0.20.0070.05320.18
7.0.10.0070.04020.14
7.0.00.0070.08320.09
5.6.280.0070.07020.91
5.6.240.0070.08320.50
5.6.230.0170.07320.68
5.6.220.0100.07320.49
5.6.210.0070.07020.55
5.6.200.0070.07721.07
5.6.190.0030.06021.00
5.6.180.0100.08021.05
5.6.170.0030.06721.02
5.6.160.0070.08021.17
5.6.150.0070.04721.16
5.6.140.0100.07320.95
5.6.130.0070.08021.01
5.6.120.0130.07721.09
5.6.110.0100.04320.98
5.6.100.0030.07721.02
5.6.90.0100.07721.00
5.6.80.0130.06720.49
5.6.70.0230.04720.45
5.6.60.0030.07020.45
5.6.50.0100.07720.41
5.6.40.0130.05320.40
5.6.30.0000.06020.38
5.6.20.0130.06720.48
5.6.10.0130.06720.31
5.6.00.0100.05320.34
5.5.380.0170.06320.36
5.5.370.0100.07720.35
5.5.360.0130.06320.41
5.5.350.0100.07020.46
5.5.340.0030.08720.86
5.5.330.0070.04720.87
5.5.320.0030.05320.91
5.5.310.0070.08320.88
5.5.300.0030.07320.64
5.5.290.0070.06720.73
5.5.280.0070.04720.64
5.5.270.0100.04020.72
5.5.260.0170.07320.89
5.5.250.0070.08320.70
5.5.240.0070.06320.14
5.5.230.0200.06320.27
5.5.220.0030.08020.27
5.5.210.0130.06320.30
5.5.200.0130.07020.22
5.5.190.0000.08720.14
5.5.180.0070.08320.13
5.5.160.0070.07720.15
5.5.150.0100.07320.16
5.5.140.0130.06320.21
5.5.130.0200.05720.25
5.5.120.0130.08020.14
5.5.110.0100.06720.23
5.5.100.0100.07320.13
5.5.90.0130.07020.13
5.5.80.0070.04020.00
5.5.70.0030.08020.00
5.5.60.0000.08020.05
5.5.50.0070.07720.04
5.5.40.0070.06719.99
5.5.30.0030.04720.14
5.5.20.0130.07320.04
5.5.10.0030.04720.02
5.5.00.0030.04319.96
5.4.450.0130.04019.48
5.4.440.0070.06719.40
5.4.430.0100.07719.38
5.4.420.0000.08019.24
5.4.410.0070.08019.29
5.4.400.0130.06319.23
5.4.390.0000.07318.95
5.4.380.0130.06719.12
5.4.370.0070.04319.06
5.4.360.0030.07318.96
5.4.350.0070.08019.07
5.4.340.0100.06718.81
5.4.320.0000.07319.23
5.4.310.0030.05719.07
5.4.300.0130.07319.12
5.4.290.0100.07018.99
5.4.280.0070.06719.15
5.4.270.0000.08319.11
5.4.260.0030.05018.84
5.4.250.0000.05718.96
5.4.240.0030.07719.13
5.4.230.0030.08319.00
5.4.220.0130.04719.11
5.4.210.0000.05718.80
5.4.200.0000.04318.96
5.4.190.0070.07718.93
5.4.180.0000.05319.07
5.4.170.0100.04719.04
5.4.160.0070.04718.96
5.4.150.0070.07018.76
5.4.140.0030.08016.32
5.4.130.0100.06316.23
5.4.120.0100.07316.23
5.4.110.0100.04316.20
5.4.100.0100.05016.34
5.4.90.0000.04316.45
5.4.80.0070.05316.43
5.4.70.0130.07316.43
5.4.60.0030.05016.18
5.4.50.0070.09016.33
5.4.40.0100.06316.37
5.4.30.0070.07016.41
5.4.20.0030.04716.22
5.4.10.0170.06316.39
5.4.00.0170.06715.67
5.3.290.0000.06314.66
5.3.280.0130.06314.45
5.3.270.0070.07714.59
5.3.260.0030.08314.43
5.3.250.0000.08014.46
5.3.240.0030.07314.61
5.3.230.0070.08314.56
5.3.220.0070.07714.52
5.3.210.0070.07714.55
5.3.200.0000.07014.53
5.3.190.0030.05014.53
5.3.180.0070.04714.57
5.3.170.0070.04014.57
5.3.160.0070.07714.50
5.3.150.0000.04714.55
5.3.140.0070.06714.41
5.3.130.0100.05314.55
5.3.120.0100.07314.37
5.3.110.0200.06314.37
5.3.100.0100.07314.00
5.3.90.0000.08013.88
5.3.80.0100.03313.96
5.3.70.0030.07313.92
5.3.60.0030.04313.86
5.3.50.0130.06713.70
5.3.40.0130.07013.94
5.3.30.0030.04713.76
5.3.20.0030.07713.55
5.3.10.0130.06013.64
5.3.00.0100.06313.64
5.2.170.0000.05711.00
5.2.160.0100.06011.16
5.2.150.0070.06011.14
5.2.140.0070.04711.00
5.2.130.0100.05711.02
5.2.120.0000.06011.10
5.2.110.0070.06011.12
5.2.100.0070.06011.14
5.2.90.0030.03711.10
5.2.80.0030.05711.11
5.2.70.0130.05311.08
5.2.60.0030.06310.87
5.2.50.0000.06711.04
5.2.40.0070.05010.85
5.2.30.0070.06010.84
5.2.20.0100.04311.01
5.2.10.0100.05310.82
5.2.00.0070.05710.71
5.1.60.0070.05010.04
5.1.50.0070.03710.00
5.1.40.0030.0439.96
5.1.30.0030.05310.27
5.1.20.0070.05310.40
5.1.10.0030.0539.91
5.1.00.0030.05010.05
5.0.50.0000.0338.83
5.0.40.0100.0338.83
5.0.30.0070.0578.83
5.0.20.0030.0438.83
5.0.10.0000.0438.83
5.0.00.0000.0638.83
4.4.90.0130.0278.83
4.4.80.0000.0378.83
4.4.70.0070.0338.83
4.4.60.0030.0378.83
4.4.50.0000.0378.83
4.4.40.0070.0478.83
4.4.30.0030.0308.83
4.4.20.0000.0378.83
4.4.10.0030.0378.83
4.4.00.0000.0508.83
4.3.110.0030.0208.83
4.3.100.0000.0338.83
4.3.90.0030.0178.83
4.3.80.0030.0438.83
4.3.70.0070.0308.83
4.3.60.0030.0338.83
4.3.50.0030.0208.83
4.3.40.0030.0508.83
4.3.30.0030.0338.83
4.3.20.0100.0308.83
4.3.10.0030.0338.83
4.3.00.0000.0378.83

preferences:
29.76 ms | 403 KiB | 5 Q