3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_POST = [ 'JsonData' => '[{"firstname":""},{"lastname":""},{"email":""},{"countryCode":""},{"phone":""},{"i_signup_password":""},{"i_signup_password_rep":""},{"email":""},{"i_signin_password":""},{"form":"d-sys-login"},{"process":"e-signin"},{"form":"d-sys-login"},{"process":"e-signin"},{"form":"d-sys-login"},{"process":"e-signin"},{"form":"d-sys-login"},{"process":"e-signin"},{"form":"d-sys-login"},{"process":"e-signin"},{"form":"d-sys-login"},{"process":"e-signin"},{"form":"d-sys-login"},{"process":"e-signin"},{"form":"d-sys-login"},{"process":"e-signin"},{"form":"d-sys-login"},{"process":"e-signin"},{"form":"d-sys-login"},{"process":"e-signin"},{"form":"d-sys-login"},{"process":"e-signin"}]', 'otherdata' => 'otherdata', 'a number' => 8, ]; foreach ($_POST as $key => $value) { $decoded = json_decode($value, true); $newValue = json_last_error() ? $value : $decoded; if (is_array($decoded) && $newValue === array_values($newValue)) { $newValue = array_merge(...$newValue); } var_export($newValue); echo "\n"; }

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.0110.00716.38
8.3.50.0070.00718.34
8.3.40.0000.01418.67
8.3.30.0120.00918.58
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0090.00026.16
8.2.180.0120.00425.92
8.2.170.0060.00918.61
8.2.160.0100.00722.96
8.2.150.0070.00025.66
8.2.140.0000.00824.66
8.2.130.0030.00626.16
8.2.120.0040.00426.35
8.2.110.0100.00020.47
8.2.100.0080.00317.84
8.2.90.0030.00617.75
8.2.80.0040.00418.44
8.2.70.0000.00817.50
8.2.60.0080.00018.04
8.2.50.0080.00018.05
8.2.40.0000.00718.34
8.2.30.0000.00818.08
8.2.20.0050.00218.19
8.2.10.0000.00819.41
8.2.00.0040.00419.20
8.1.280.0140.00325.92
8.1.270.0080.00023.99
8.1.260.0040.00428.09
8.1.250.0000.00828.09
8.1.240.0160.00021.75
8.1.230.0090.00321.04
8.1.220.0050.00317.77
8.1.210.0060.00318.77
8.1.200.0090.00017.36
8.1.190.0030.00517.35
8.1.180.0040.00418.10
8.1.170.0000.00818.57
8.1.160.0040.00418.90
8.1.150.0040.00418.96
8.1.140.0060.00320.68
8.1.130.0000.00717.50
8.1.120.0000.00717.41
8.1.110.0030.00517.46
8.1.100.0040.00417.51
8.1.90.0030.00617.36
8.1.80.0040.00417.36
8.1.70.0040.00417.39
8.1.60.0050.00317.46
8.1.50.0000.00717.55
8.1.40.0040.00417.51
8.1.30.0040.00417.68
8.1.20.0050.00317.64
8.1.10.0060.00617.45
8.1.00.0090.00017.45
8.0.300.0110.00018.77
8.0.290.0000.00716.75
8.0.280.0060.00020.20
8.0.270.0030.00317.94
8.0.260.0000.00716.71
8.0.250.0030.00316.85
8.0.240.0000.00816.95
8.0.230.0070.00016.96
8.0.220.0070.00016.89
8.0.210.0000.00716.78
8.0.200.0000.00716.94
8.0.190.0000.00716.96
8.0.180.0070.00016.82
8.0.170.0040.00416.97
8.0.160.0000.00716.80
8.0.150.0020.00516.90
8.0.140.0050.00216.88
8.0.130.0060.00013.30
8.0.120.0000.00816.84
8.0.110.0000.00816.97
8.0.100.0040.00416.88
8.0.90.0000.00716.91
8.0.80.0090.01216.88
8.0.70.0000.00816.80
8.0.60.0080.00016.86
8.0.50.0000.00716.90
8.0.30.0040.01216.83
8.0.20.0140.00417.09
8.0.10.0040.00416.86
8.0.00.0220.00316.59
7.4.330.0050.00015.55
7.4.320.0000.00616.48
7.4.300.0060.00016.46
7.4.290.0040.00416.43
7.4.280.0040.00416.51
7.4.270.0060.00016.61
7.4.260.0000.00513.27
7.4.250.0070.00016.57
7.4.240.0070.00016.54
7.4.230.0070.00016.50
7.4.220.0040.00316.60
7.4.210.0070.01216.63
7.4.200.0000.00816.69
7.4.130.0090.01116.45
7.4.120.0040.01616.61
7.4.110.0140.00316.62
7.4.100.0100.00716.40
7.4.90.0040.01416.24
7.4.80.0100.01016.32
7.4.70.0060.01216.58
7.4.60.0170.00016.55
7.4.50.0170.00016.08
7.4.40.0130.00316.58
7.4.30.0140.00316.36
7.4.20.0070.01116.33
7.4.10.0060.01316.57
7.4.00.0070.01016.39
7.3.330.0080.00016.16
7.3.320.0030.00313.13
7.3.310.0000.00716.29
7.3.300.0000.00716.24
7.3.290.0050.00916.28
7.3.280.0120.00916.31
7.3.260.0030.02116.57
7.3.230.0090.00916.45
7.3.210.0070.01016.19
7.3.200.0060.01216.41
7.3.190.0070.01016.49
7.3.180.0070.01016.61
7.3.170.0130.00316.52
7.3.160.0100.00616.25
7.3.150.0060.01216.19
7.3.140.0150.00316.44
7.3.130.0120.00616.44
7.3.120.0120.00816.57
7.3.110.0100.00716.36
7.3.100.0140.00416.27
7.3.90.0090.00916.67
7.3.80.0030.01316.27
7.3.70.0110.00516.45
7.3.60.0030.01716.44
7.3.50.0080.01416.47
7.3.40.0160.00016.34
7.3.30.0130.00316.59
7.3.20.0330.00716.28
7.3.10.0140.00316.41
7.3.00.0120.00616.27
7.2.330.0090.00916.32
7.2.320.0040.01416.52
7.2.310.0130.00316.74
7.2.300.0090.00916.85
7.2.290.0030.01416.66
7.2.280.0110.00616.50
7.2.270.0040.01716.81
7.2.260.0060.01216.48
7.2.250.0070.01116.52
7.2.240.0110.00716.74
7.2.230.0140.00816.56
7.2.220.0050.01416.74
7.2.210.0100.00716.48
7.2.200.0090.00916.86
7.2.190.0140.00416.52
7.2.180.0030.01316.65
7.2.170.0140.00316.76
7.2.160.0150.01216.69
7.2.150.0030.01616.68
7.2.140.0150.00416.66
7.2.130.0110.00816.67
7.2.120.0070.01116.55
7.2.110.0110.00716.80
7.2.100.0040.01416.58
7.2.90.0400.00716.52
7.2.80.0090.00916.65
7.2.70.0060.01216.56
7.2.60.0100.01616.51
7.2.50.0160.00416.66
7.2.40.0130.01016.56
7.2.30.0150.00416.78
7.2.20.0060.01216.59
7.2.10.0120.00616.74
7.2.00.0120.00616.68

preferences:
73.37 ms | 401 KiB | 5 Q