3v4l.org

run code in 300+ PHP versions simultaneously
<?php $contenentData = '[{ "surname": "", "name": "Andrea Fiore", "city": "Crocino", "address": "via Emo Mannucci, 2", "telephone": "123456789", "email": "x@gmail.com", "startData": "2019-07-04", "finishData": "2019-07-25", "cardId": "2", "state": "true" }]'; $newMemberData = array( 'surname'=> "newsurname", 'name'=> "name", 'city'=> "city", 'address'=> "address", 'telephone'=> 'phone', 'email'=> 'email', 'startData'=> "startData", 'finishData'=>"finish", 'cardId'=> "cardId", 'state'=> "State", ); $contentDataArray = json_decode($contenentData, true); $contentDataArray[0] = $newMemberData; $contenentData = json_encode($contentDataArray, JSON_PRETTY_PRINT); echo $contenentData;

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.0190.00416.38
8.3.50.0050.01121.98
8.3.40.0160.00618.96
8.3.30.0130.00318.71
8.3.20.0040.00422.08
8.3.10.0040.00420.20
8.3.00.0040.00421.77
8.2.180.0120.00618.05
8.2.170.0040.01122.96
8.2.160.0070.00719.32
8.2.150.0090.00024.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0070.00026.16
8.2.110.0070.00322.21
8.2.100.0000.01218.28
8.2.90.0070.00319.33
8.2.80.0040.00417.97
8.2.70.0000.00817.75
8.2.60.0030.00618.05
8.2.50.0030.00518.07
8.2.40.0040.00418.10
8.2.30.0040.00418.18
8.2.20.0000.00818.11
8.2.10.0000.00719.33
8.2.00.0040.00419.36
8.1.280.0130.00725.92
8.1.270.0070.00322.19
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00322.14
8.1.230.0080.00317.89
8.1.220.0040.00417.77
8.1.210.0000.00818.77
8.1.200.0000.01017.23
8.1.190.0030.00617.23
8.1.180.0000.00918.10
8.1.170.0000.01018.59
8.1.160.0000.00718.82
8.1.150.0040.00418.70
8.1.140.0000.00720.88
8.1.130.0030.00320.08
8.1.120.0040.00417.43
8.1.110.0000.00717.37
8.1.100.0070.00017.30
8.1.90.0000.00817.30
8.1.80.0040.00417.29
8.1.70.0040.00417.37
8.1.60.0040.00417.52
8.1.50.0030.00617.46
8.1.40.0060.00317.43
8.1.30.0050.00217.53
8.1.20.0030.00517.53
8.1.10.0080.00017.61
8.1.00.0020.00517.49
8.0.300.0000.00718.77
8.0.290.0080.00016.75
8.0.280.0030.00318.38
8.0.270.0080.00017.21
8.0.260.0000.00720.06
8.0.250.0000.00716.99
8.0.240.0070.00017.00
8.0.230.0000.00816.88
8.0.220.0000.00616.87
8.0.210.0070.00016.68
8.0.200.0040.00416.87
8.0.190.0040.00416.87
8.0.180.0040.00416.77
8.0.170.0000.01216.89
8.0.160.0000.00816.89
8.0.150.0070.00316.70
8.0.140.0040.00416.73
8.0.130.0000.00613.28
8.0.120.0000.00716.69
8.0.110.0030.00516.77
8.0.100.0000.00716.75
8.0.90.0040.00416.66
8.0.80.0030.01116.82
8.0.70.0000.00816.63
8.0.60.0000.00716.88
8.0.50.0000.00716.90
8.0.30.0130.00517.04
8.0.20.0070.01217.07
8.0.10.0040.00416.91
8.0.00.0080.01016.81
7.4.330.0050.00016.73
7.4.320.0070.00016.45
7.4.300.0040.00416.59
7.4.290.0040.00416.29
7.4.280.0030.00616.55
7.4.270.0060.00316.52
7.4.260.0040.00416.52
7.4.250.0050.00316.52
7.4.240.0040.00416.56
7.4.230.0070.00016.61
7.4.220.0020.00516.42
7.4.210.0080.01216.53
7.4.200.0000.00716.44
7.4.130.0130.00416.47
7.4.120.0070.01016.32
7.4.110.0070.01016.54
7.4.100.0040.01716.57
7.4.90.0030.01316.52
7.4.80.0070.01519.39
7.4.70.0110.00616.25
7.4.60.0060.01216.28
7.4.50.0060.01216.40
7.4.40.0110.01116.35
7.4.00.0070.01114.86
7.3.330.0050.00013.10
7.3.320.0030.00313.14
7.3.310.0070.00016.14
7.3.300.0030.00316.30
7.3.290.0030.00316.25
7.3.280.0090.00616.24
7.3.260.0070.01216.39
7.3.240.0080.00916.24
7.3.230.0060.01216.28
7.3.210.0070.01016.33
7.3.200.0080.01516.35
7.3.190.0170.00416.23
7.3.180.0190.00016.64
7.3.170.0070.01016.42
7.3.160.0120.00916.46
7.3.70.0030.01014.70
7.3.60.0070.01414.63
7.3.50.0070.00414.57
7.3.40.0070.00414.66
7.3.30.0080.00614.38
7.3.20.0060.00616.64
7.3.10.0060.00916.27
7.3.00.0080.00416.61
7.2.330.0120.00616.66
7.2.320.0190.00416.73
7.2.310.0150.00916.70
7.2.300.0030.01616.58
7.2.290.0160.00016.61
7.2.200.0060.01314.77
7.2.190.0120.00014.61
7.2.180.0030.00814.65
7.2.170.0060.01015.02
7.2.160.0090.00614.88
7.2.150.0000.01616.80
7.2.140.0160.00016.77
7.2.130.0060.00616.63
7.2.120.0040.01416.64
7.2.110.0000.01616.72
7.2.100.0070.00716.62
7.2.90.0110.00016.60
7.2.80.0060.00616.49
7.2.70.0070.01016.70
7.2.60.0090.00616.91
7.2.50.0040.00716.61
7.2.40.0080.00416.75
7.2.30.0080.00816.79
7.2.20.0090.00616.89
7.2.10.0080.00416.66
7.2.00.0070.00716.57
7.1.300.0110.00015.83
7.1.290.0040.00715.69
7.1.280.0070.00715.74
7.1.270.0070.00415.77
7.1.260.0090.00615.43
7.1.250.0080.00415.47

preferences:
57.26 ms | 401 KiB | 5 Q