3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = ' { "status": "OK", "response": { "1": { "name": "Personal Information", "fields": { "1": { "name": "About Me", "value": "" }, "4": { "name": "Discord name", "value": "TestAccount#1012" } } } } } '; $j = json_decode($json, TRUE); foreach($j['response'] as $response) { print_r($response['fields']); }

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.0070.01418.18
8.3.50.0200.01016.50
8.3.40.0170.00318.71
8.3.30.0070.00718.66
8.3.20.0030.00619.11
8.3.10.0080.00023.61
8.3.00.0080.00023.51
8.2.180.0200.00718.38
8.2.170.0150.00022.96
8.2.160.0060.00919.21
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0070.00020.55
8.2.120.0040.00426.35
8.2.110.0100.00021.05
8.2.100.0030.00917.72
8.2.90.0030.00620.68
8.2.80.0040.00417.97
8.2.70.0080.00017.93
8.2.60.0050.00318.04
8.2.50.0000.00818.10
8.2.40.0050.00319.53
8.2.30.0040.00419.31
8.2.20.0050.00218.10
8.2.10.0030.00319.42
8.2.00.0000.00719.44
8.1.280.0120.00625.92
8.1.270.0020.00520.33
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0060.00320.64
8.1.230.0090.00320.91
8.1.220.0040.00417.74
8.1.210.0040.00418.95
8.1.200.0000.00917.22
8.1.190.0040.00417.36
8.1.180.0060.00318.10
8.1.170.0000.00818.73
8.1.160.0000.00718.95
8.1.150.0050.00218.80
8.1.140.0030.00519.60
8.1.130.0030.00318.96
8.1.120.0000.00717.48
8.1.110.0050.00317.49
8.1.100.0030.00517.47
8.1.90.0050.00217.34
8.1.80.0040.00417.42
8.1.70.0080.00017.41
8.1.60.0030.00617.63
8.1.50.0050.00217.39
8.1.40.0040.00417.52
8.1.30.0070.00417.69
8.1.20.0000.00717.59
8.1.10.0080.00017.52
8.1.00.0030.00517.44
8.0.300.0070.00019.99
8.0.290.0080.00316.73
8.0.280.0030.00318.43
8.0.270.0030.00517.26
8.0.260.0030.00817.11
8.0.250.0060.00016.95
8.0.240.0030.00316.91
8.0.230.0030.00316.84
8.0.220.0030.00316.88
8.0.210.0030.00516.75
8.0.200.0080.00016.87
8.0.190.0040.00416.84
8.0.180.0050.00316.92
8.0.170.0000.00916.88
8.0.160.0040.00416.79
8.0.150.0000.00716.82
8.0.140.0070.00016.88
8.0.130.0000.00513.32
8.0.120.0040.00416.87
8.0.110.0000.00716.86
8.0.100.0040.00416.81
8.0.90.0080.00016.93
8.0.80.0080.01116.82
8.0.70.0000.00716.91
8.0.60.0080.00016.87
8.0.50.0040.00416.74
8.0.30.0130.00616.97
8.0.20.0090.00917.40
8.0.10.0030.00317.04
8.0.00.0110.01416.83
7.4.330.0050.00015.55
7.4.320.0000.00716.59
7.4.300.0040.00416.41
7.4.290.0040.00416.51
7.4.280.0050.00316.50
7.4.270.0000.00716.58
7.4.260.0060.00316.59
7.4.250.0050.00316.49
7.4.240.0070.00016.59
7.4.230.0000.00716.41
7.4.220.0080.00016.34
7.4.210.0090.00516.59
7.4.200.0070.00016.48
7.4.160.0060.01216.42
7.4.140.0120.00817.86
7.4.130.0150.00316.45
7.4.120.0090.01116.49
7.4.110.0130.00316.40
7.4.100.0130.01016.37
7.4.90.0110.01516.49
7.4.80.0130.00719.39
7.4.70.0110.00716.49
7.4.60.0060.01216.42
7.4.50.0100.00316.52
7.4.40.0150.00316.60
7.4.00.0050.01014.77
7.3.330.0000.00513.05
7.3.320.0020.00313.16
7.3.310.0040.00416.22
7.3.300.0030.00316.25
7.3.290.0000.00816.21
7.3.280.0120.00516.21
7.3.260.0110.00816.36
7.3.240.0120.00916.43
7.3.230.0070.01116.48
7.3.210.0140.00416.36
7.3.200.0160.00616.26
7.3.190.0080.00816.35
7.3.180.0030.01416.30
7.3.170.0090.00616.37
7.3.160.0090.00616.30
7.3.120.0040.01214.82
7.3.110.0070.01014.63
7.3.100.0100.00714.68
7.3.90.0040.00814.75
7.3.80.0070.00714.98
7.3.70.0100.00314.82
7.3.60.0000.01614.79
7.3.50.0090.00614.63
7.3.40.0030.01414.89
7.3.30.0040.01214.80
7.3.20.0030.01016.43
7.3.10.0040.00716.46
7.3.00.0040.00716.63
7.2.330.0130.01316.65
7.2.320.0140.01016.52
7.2.310.0120.01216.46
7.2.300.0080.00816.47
7.2.290.0110.01016.75
7.2.250.0130.00715.18
7.2.240.0060.01215.01
7.2.230.0060.01314.77
7.2.220.0060.00615.14
7.2.210.0000.01414.94
7.2.200.0030.01415.21
7.2.190.0040.01215.16
7.2.180.0060.00915.00
7.2.170.0030.01015.10
7.2.110.0520.01016.28
7.2.80.0820.00014.52
7.2.70.0840.00714.84
7.2.60.0220.01114.76
7.2.50.0210.01014.67
7.2.40.0510.01514.92
7.2.30.0870.01214.70
7.2.20.0980.00314.77
7.2.10.0630.00814.57
7.2.00.0930.01014.77
7.1.330.0070.00715.78
7.1.320.0030.01015.72
7.1.310.0090.00315.84
7.1.300.0060.00915.44
7.1.290.0090.00615.54
7.1.280.0100.00315.90
7.1.270.0070.00715.80
7.1.260.0070.00415.76
7.1.200.0070.00015.84
7.1.190.0740.00314.00
7.1.180.1110.00713.73
7.1.170.0560.01013.68
7.1.160.0360.00613.21
7.1.150.0830.00613.47
7.1.140.0710.00613.47
7.1.130.0990.00713.68
7.1.120.1090.00713.64
7.1.110.0690.00313.93
7.1.100.0710.00313.77
7.1.90.0740.00613.43
7.1.80.0730.00713.41
7.1.70.0840.01313.66
7.1.60.1160.00731.72
7.1.50.1140.01031.71
7.1.40.1410.00731.56
7.1.30.1320.01031.34
7.1.20.1230.01331.84
7.1.10.1560.01213.31
7.1.00.1010.01313.50

preferences:
65.61 ms | 401 KiB | 5 Q