3v4l.org

run code in 300+ PHP versions simultaneously
<?php $obj = '{"registerDetails":"{\"accountName\":\"gsyau\",\"accountNumber\":\"168454\",\"addressUser\":\"test\",\"bankId\":1,\"selectedCityId\":1,\"emergencyName\":\"test\",\"emergencyNumber\":\"0146542346\",\"education\":[{\"certificatePicture\":{\"body\":{},\"headers\":{\"namesAndValues\":[\"Content-Disposition\",\"form-data; name\\u003d\\\"certificateFile\\\"; filename\\u003d\\\"2022-11-29-21-18-35-294.jpg\\\"\"]}},\"grade\":\"test\",\"educationLvl\":\"Doctoral (PHD) or Equivalent\",\"endEducation\":\"Oct 2022\",\"id\":8,\"institutionName\":\"test\",\"isEducationExpandable\":false,\"startEducation\":\"Aug 2022\"}],\"skill\":[{\"id\":7},{\"id\":9}],\"work\":[{\"companyName\":\"test\",\"jobEndDate\":\"Oct 2022\",\"isCurrentlyWorkHere\":false,\"isJobExpand\":false,\"jobPosition\":\"testtest\",\"jobScope\":\"test\",\"jobTitle\":\"test\",\"jobStartDate\":\"Aug 2022\"}],\"phoneUser\":\"014654264\",\"postCode\":\"68100\",\"selectedStateId\":1}"}'; $fixed = preg_replace('/\\\\u003d\\\\\\\\(.*?)\\\\\\\\/', '=\\\\\\\\\\\\$1\\\\\\\\\\\\', $obj); var_export( json_decode(json_decode($fixed)->registerDetails) );

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.140.0130.01417.63
8.4.130.0100.01018.10
8.4.120.0120.00820.41
8.4.110.0100.01020.52
8.4.100.0130.00918.03
8.4.90.0120.00820.41
8.4.80.0100.00718.73
8.4.70.0070.00820.68
8.4.60.0130.00818.95
8.4.50.0090.01219.55
8.4.40.0100.00720.69
8.4.30.0120.00918.78
8.4.20.0100.01019.70
8.4.10.0000.00923.92
8.3.270.0110.00916.74
8.3.260.0130.00716.98
8.3.250.0150.00418.93
8.3.240.0110.00916.51
8.3.230.0040.00416.94
8.3.220.0050.00319.07
8.3.210.0150.00516.98
8.3.200.0050.00416.43
8.3.190.0110.00817.12
8.3.180.0060.00316.56
8.3.170.0060.00318.96
8.3.160.0100.01016.67
8.3.150.0040.01516.96
8.3.140.0040.00418.93
8.3.130.0030.00618.52
8.3.120.0060.00319.04
8.3.110.0040.00720.94
8.3.100.0050.00324.06
8.3.90.0070.00726.77
8.3.80.0060.00316.88
8.3.70.0120.00616.73
8.3.60.0070.01416.88
8.3.50.0090.00618.80
8.3.40.0140.00720.40
8.3.30.0070.01118.92
8.3.20.0070.00024.18
8.3.10.0060.00324.66
8.3.00.0080.00026.16
8.2.290.0110.00816.93
8.2.280.0110.00418.45
8.2.270.0100.01018.52
8.2.260.0070.01116.50
8.2.250.0040.00416.49
8.2.240.0000.00819.08
8.2.230.0030.00622.58
8.2.220.0060.00337.54
8.2.210.0050.00326.77
8.2.200.0100.00016.75
8.2.190.0070.00718.41
8.2.180.0070.00725.92
8.2.170.0110.01118.94
8.2.160.0110.00322.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0050.00319.82
8.2.110.0040.00420.52
8.2.100.0070.00417.91
8.2.90.0000.00817.84
8.2.80.0080.00017.97
8.2.70.0000.00817.91
8.2.60.0000.00818.03
8.2.50.0050.00318.10
8.2.40.0040.00419.29
8.2.30.0000.00919.42
8.2.20.0000.00820.51
8.2.10.0000.00718.37
8.2.00.0000.00719.27
8.1.330.0060.01216.52
8.1.320.0090.01018.21
8.1.310.0070.01316.62
8.1.300.0040.00720.29
8.1.290.0060.00330.84
8.1.280.0090.00525.92
8.1.270.0030.00524.66
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0120.00619.54
8.1.230.0040.00721.06
8.1.220.0050.00217.74
8.1.210.0040.00419.97
8.1.200.0000.01017.48
8.1.190.0060.00317.36
8.1.180.0040.00418.10
8.1.170.0000.00818.71
8.1.160.0080.00018.88
8.1.150.0040.00418.77
8.1.140.0070.00317.45
8.1.130.0040.00417.58
8.1.120.0040.00417.63
8.1.110.0040.00417.63
8.1.100.0000.00717.55
8.1.90.0000.00917.59
8.1.80.0030.00617.64
8.1.70.0030.00617.60
8.1.60.0000.00717.80
8.1.50.0040.00417.70
8.1.40.0030.00617.67
8.1.30.0000.00817.77
8.1.20.0000.00717.70
8.1.10.0030.00517.65
8.1.00.0040.00417.56
8.0.300.0070.00021.91
8.0.290.0080.00016.88
8.0.280.0060.00318.46
8.0.270.0060.00318.13
8.0.260.0070.00017.37
8.0.250.0040.00417.37
8.0.240.0000.00717.37
8.0.230.0080.00017.37
8.0.220.0050.00317.37
8.0.210.0040.00417.37
8.0.200.0050.00317.37
8.0.190.0030.00317.37
8.0.180.0020.00517.37
8.0.170.0000.00717.37
8.0.160.0000.00717.37
8.0.150.0030.00317.37
8.0.140.0030.00517.37
8.0.130.0000.00817.37
8.0.120.0040.00417.37
8.0.110.0030.00517.37
8.0.100.0070.00017.37
8.0.90.0040.00417.37
8.0.80.0050.00317.37
8.0.70.0040.00417.37
8.0.60.0000.00817.37
8.0.50.0000.00717.37
8.0.30.0080.00017.37
8.0.20.0000.00817.37
8.0.10.0080.00017.37

preferences:
32.97 ms | 403 KiB | 5 Q