3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = <<<JSON { "cpus" : 2, "cpuunits" : 1000, "digest" : "2e9e4e9c57e4c1c2eac905447e71601656e4cc35", "disk" : 200, "hostname" : "ServerFor:dancantir@gmail.com", "ip_address" : "1.2.3.9", "memory" : 2048, "nameserver" : "8.8.8.8", "onboot" : 0, "ostemplate" : "ubuntu-10.04-standard_10.04-4_i386.tar.gz", "quotatime" : 0, "quotaugidlimit" : 0, "searchdomain" : "com", "storage" : "local", "swap" : 2 } { "cpu" : 0, "cpus" : 2, "disk" : 0, "diskread" : 0, "diskwrite" : 0, "failcnt" : 0, "ha" : 0, "ip" : "1.2.3.9", "maxdisk" : 214748364800, "maxmem" : 2147483648, "maxswap" : 2097152, "mem" : 0, "name" : "ServerFor:dancantir@gmail.com", "netin" : 0, "netout" : 0, "nproc" : 0, "status" : "stopped", "swap" : 0, "type" : "openvz", "uptime" : 0 } JSON; var_dump(json_decode($json, true));

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.0120.00318.31
8.3.50.0100.00921.21
8.3.40.0110.00418.57
8.3.30.0090.00618.73
8.3.20.0000.00818.65
8.3.10.0030.00619.35
8.3.00.0070.00023.64
8.2.180.0150.01116.75
8.2.170.0110.00622.96
8.2.160.0170.00020.57
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00419.01
8.2.110.0130.00722.08
8.2.100.0090.00317.72
8.2.90.0040.00419.09
8.2.80.0030.00517.97
8.2.70.0040.00417.50
8.2.60.0050.00318.04
8.2.50.0000.00818.07
8.2.40.0000.00718.03
8.2.30.0070.00019.84
8.2.20.0040.00417.48
8.2.10.0000.00717.64
8.2.00.0030.00517.54
8.1.280.0120.00325.92
8.1.270.0070.00023.99
8.1.260.0000.00826.35
8.1.250.0030.00628.09
8.1.240.0130.01023.96
8.1.230.0040.00819.10
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0000.00817.23
8.1.180.0090.00018.88
8.1.170.0030.00618.68
8.1.160.0040.00418.85
8.1.150.0050.00318.60
8.1.140.0000.00717.45
8.1.130.0030.00317.95
8.1.120.0070.00017.31
8.1.110.0050.00317.41
8.1.100.0000.00717.31
8.1.90.0030.00517.41
8.1.80.0040.00417.47
8.1.70.0070.00017.29
8.1.60.0060.00317.46
8.1.50.0040.00417.32
8.1.40.0040.00417.44
8.1.30.0080.00017.43
8.1.20.0030.00617.66
8.1.10.0030.00617.45
8.1.00.0070.00317.31
8.0.300.0000.00720.73
8.0.290.0080.00017.05
8.0.280.0000.00718.41
8.0.270.0040.00417.09
8.0.260.0060.00316.87
8.0.250.0000.00716.96
8.0.240.0000.00816.98
8.0.230.0030.00316.99
8.0.220.0070.00016.95
8.0.210.0000.00716.84
8.0.200.0050.00216.96
8.0.190.0040.00416.84
8.0.180.0030.00316.87
8.0.170.0050.00316.84
8.0.160.0030.00316.88
8.0.150.0060.00316.86
8.0.140.0030.00316.83
8.0.130.0000.00513.29
8.0.120.0000.00816.88
8.0.110.0080.00017.00
8.0.100.0040.00416.80
8.0.90.0000.00816.78
8.0.80.0110.00316.79
8.0.70.0000.01016.76
8.0.60.0040.00416.89
8.0.50.0050.00316.89
8.0.30.0080.01116.87
8.0.20.0090.01317.40
8.0.10.0030.00316.97
8.0.00.0070.01316.85
7.4.330.0020.00214.75
7.4.320.0020.00516.56
7.4.300.0030.00316.61
7.4.290.0000.00816.57
7.4.280.0070.00016.54
7.4.270.0070.00016.51
7.4.260.0030.00313.24
7.4.250.0040.00416.54
7.4.240.0050.00316.57
7.4.230.0030.00316.49
7.4.220.0120.00316.40
7.4.210.0080.00716.55
7.4.200.0030.00316.56
7.4.190.0030.00616.46
7.4.160.0150.00716.45
7.4.150.0060.01017.40
7.4.140.0100.00817.86
7.4.130.0090.00816.48
7.4.120.0080.00816.36
7.4.110.0110.00716.40
7.4.100.0070.01016.41
7.4.90.0070.01116.39
7.4.80.0060.00919.37
7.4.70.0100.00716.45
7.4.60.0070.01016.36
7.4.50.0060.00316.44
7.4.40.0100.00722.27
7.4.30.0140.00516.36
7.4.00.0080.00714.90
7.3.330.0050.00012.97
7.3.320.0050.00013.01
7.3.310.0070.00016.20
7.3.300.0000.00716.20
7.3.290.0030.01316.20
7.3.280.0070.01116.29
7.3.270.0090.00817.40
7.3.260.0130.00718.24
7.3.250.0090.00916.39
7.3.240.0030.01316.64
7.3.230.0070.01016.59
7.3.210.0030.01416.17
7.3.200.0060.01019.39
7.3.190.0100.01316.31
7.3.180.0070.01416.48
7.3.170.0130.00316.33
7.3.160.0070.01016.50
7.3.120.0050.00914.82
7.3.110.0110.00414.70
7.3.100.0110.00314.60
7.3.90.0000.01314.93
7.3.80.0070.00714.69
7.3.70.0030.01314.71
7.3.60.0030.00714.57
7.3.50.0080.00614.42
7.3.40.0000.01314.45
7.3.30.0000.00914.34
7.3.20.0030.00716.32
7.3.10.0000.01416.35
7.3.00.0040.01116.61
7.2.330.0060.01216.16
7.2.320.0060.01016.41
7.2.310.0110.01016.37
7.2.300.0110.00716.36
7.2.290.0110.00516.20
7.2.250.0140.00314.82
7.2.240.0070.01314.68
7.2.230.0000.01414.47
7.2.220.0030.01415.03
7.2.210.0070.00714.84
7.2.200.0100.00314.69
7.2.190.0070.00314.84
7.2.180.0060.01014.85
7.2.170.0090.00614.79
7.2.60.0070.00416.58
7.1.330.0030.01015.83
7.1.320.0030.00615.78
7.1.310.0100.00315.58
7.1.300.0030.01415.39
7.1.290.0100.00315.54
7.1.280.0030.01115.52
7.1.270.0030.00715.72
7.1.260.0030.01015.78
7.1.200.0030.01015.82
7.1.70.0130.00316.82
7.1.60.0040.00816.84
7.1.50.0040.00716.79
7.1.40.0000.01116.48
7.1.30.0040.00816.52
7.1.20.0000.01116.73
7.1.10.0040.00416.52
7.1.00.0040.00416.46
7.0.200.0040.00416.61
7.0.190.0040.00416.60
7.0.180.0040.00416.23
7.0.170.0000.00816.17
7.0.160.0020.00516.29
7.0.150.0040.01116.04
7.0.140.0080.00016.25
7.0.130.0030.00716.44
7.0.120.0060.00916.43
7.0.110.0000.01216.32
7.0.100.0070.00316.43
7.0.90.0060.00316.32
7.0.80.0030.00616.21
7.0.70.0030.00516.30
7.0.60.0000.01116.09
7.0.50.0050.00216.43
7.0.40.0030.00615.30
7.0.30.0000.00715.30
7.0.20.0030.00715.30
7.0.10.0070.00715.30
7.0.00.0070.00715.30
5.6.300.0030.08220.67
5.6.290.0000.08820.79
5.6.280.0100.03720.83
5.6.270.0000.04421.00
5.6.260.0100.03420.84
5.6.250.0100.04220.83
5.6.240.0000.04520.98
5.6.230.0000.04920.95
5.6.220.0060.05120.84
5.6.210.0070.08220.82
5.6.200.0030.05120.93
5.6.190.0070.06920.91
5.6.180.0070.03721.03
5.6.170.0100.03620.81
5.6.160.0000.04721.01
5.6.150.0070.05120.73
5.6.140.0070.06120.94
5.6.130.0000.04621.04
5.6.120.0030.04620.79
5.6.110.0000.04520.92
5.6.100.0100.06121.00
5.6.90.0070.04320.80
5.6.80.0060.03420.34
5.6.70.0030.04420.19
5.6.60.0000.08920.36
5.6.50.0030.03920.24
5.6.40.0000.06920.20
5.6.30.0100.08120.18
5.6.20.0030.04220.14
5.6.10.0070.03820.14
5.6.00.0070.07320.26
5.5.380.0070.03517.51
5.5.370.0000.04617.48
5.5.360.0030.04017.55
5.5.350.0000.08517.45
5.5.340.0300.03717.75
5.5.330.0130.06917.84
5.5.320.0000.05617.97
5.5.310.0030.04618.02
5.5.300.0100.08018.11
5.5.290.0030.06818.11
5.5.280.0030.04318.02
5.5.270.0030.04117.98
5.5.260.0100.05318.03
5.5.250.0000.05217.87
5.5.240.0100.05217.38
5.5.230.0030.03917.32
5.5.220.0100.03117.39
5.5.210.0070.05917.20
5.5.200.0060.05417.38
5.5.190.0000.06717.32
5.5.180.0070.07317.29
5.5.160.0030.07117.19
5.5.150.0070.07417.34
5.5.140.0030.05717.38
5.5.130.0070.03417.29
5.5.120.0000.08617.32
5.5.110.0000.08017.45
5.5.100.0070.04817.19
5.5.90.0000.04016.95
5.5.80.0000.03917.19
5.5.70.0000.04217.24
5.5.60.0240.03017.21
5.5.50.0070.03617.18
5.5.40.0060.03516.94
5.5.30.0000.04117.19
5.5.20.0000.07417.18
5.5.10.0030.04417.20
5.5.00.0000.05017.19
5.4.450.0030.04219.41
5.4.440.0070.04619.46
5.4.430.0070.08819.16
5.4.420.0030.04019.30
5.4.410.0100.05219.19
5.4.400.0090.03819.07
5.4.390.0070.03419.04
5.4.380.0070.05318.97
5.4.370.0000.04418.98
5.4.360.0070.06219.07
5.4.350.0070.04118.84
5.4.340.0070.04619.07
5.4.320.0070.03419.02
5.4.310.0000.06519.09
5.4.300.0030.03718.88
5.4.290.0070.04319.07
5.4.280.0000.05018.91
5.4.270.0130.05818.84
5.4.260.0000.06419.05
5.4.250.0000.05318.84
5.4.240.0030.03919.03
5.4.230.0060.03919.03
5.4.220.0060.04419.04
5.4.210.0000.04219.06
5.4.200.0060.03919.05
5.4.190.0030.03619.14
5.4.180.0000.04218.88
5.4.170.0030.03719.06
5.4.160.0030.03618.96
5.4.150.0030.07819.05
5.4.140.0070.06316.55
5.4.130.0030.03916.43
5.4.120.0030.03416.32
5.4.110.0000.04416.43
5.4.100.0070.03616.66
5.4.90.0030.03516.48
5.4.80.0060.03516.63
5.4.70.0030.03816.60
5.4.60.0030.03516.48
5.4.50.0060.03116.59
5.4.40.0030.03416.60
5.4.30.0060.07516.47
5.4.20.0000.04316.62
5.4.10.0030.04616.61
5.4.00.0000.03715.91
5.3.290.0100.06115.30
5.3.280.0100.03515.30
5.3.270.0000.04015.30
5.3.260.0070.07615.30
5.3.250.0100.06915.30
5.3.240.0070.07115.30
5.3.230.0000.03815.30
5.3.220.0030.04015.30
5.3.210.0130.03715.30
5.3.200.0030.03515.30
5.3.190.0030.04515.30
5.3.180.0090.03815.30
5.3.170.0030.03915.30
5.3.160.0000.03915.30
5.3.150.0070.03415.30
5.3.140.0100.06115.30
5.3.130.0030.04015.30
5.3.120.0030.04115.30
5.3.110.0030.04015.30
5.3.100.0030.03515.30
5.3.90.0030.07615.30
5.3.80.0030.07415.30
5.3.70.0030.06215.30
5.3.60.0030.04315.30
5.3.50.0030.03415.30
5.3.40.0070.04915.30
5.3.30.0030.04015.30
5.3.20.0100.05315.30
5.3.10.0030.03515.30
5.3.00.0030.03715.30
5.2.170.0030.02715.30
5.2.160.0100.04115.30
5.2.150.0000.03215.30
5.2.140.0040.05315.30
5.2.130.0030.05615.30
5.2.120.0030.06315.30
5.2.110.0000.06615.30
5.2.100.0000.03115.30
5.2.90.0090.02415.30
5.2.80.0000.03115.30
5.2.70.0000.03215.30
5.2.60.0000.03315.30
5.2.50.0000.04215.30
5.2.40.0000.03015.30
5.2.30.0000.03115.30
5.2.20.0100.02615.30
5.2.10.0030.03115.30
5.2.00.0000.03115.30
5.1.60.0000.02915.30
5.1.50.0030.02315.30
5.1.40.0000.03015.30
5.1.30.0000.03015.30
5.1.20.0070.03015.30
5.1.10.0030.02615.30
5.1.00.0030.02515.30
5.0.50.0030.02015.30
5.0.40.0000.02115.30
5.0.30.0030.02815.30
5.0.20.0030.02015.30
5.0.10.0060.01515.30
5.0.00.0030.02815.30
4.4.90.0000.01915.30
4.4.80.0030.01515.30
4.4.70.0060.01115.30
4.4.60.0030.01615.30
4.4.50.0040.01415.30
4.4.40.0030.02215.30
4.4.30.0040.01415.30
4.4.20.0060.01315.30
4.4.10.0030.02315.30
4.4.00.0000.02715.30
4.3.110.0000.01815.30
4.3.100.0000.01715.30
4.3.90.0060.01315.30
4.3.80.0060.02315.30
4.3.70.0030.01215.30
4.3.60.0030.01415.30
4.3.50.0030.01815.30
4.3.40.0000.02715.30
4.3.30.0000.01715.30
4.3.20.0000.02515.30
4.3.10.0040.01815.30
4.3.00.0000.01915.30

preferences:
34.86 ms | 401 KiB | 5 Q