3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 'reference' => '2548945316', 'date_livraison' => '2018-11-24', 'demi_journee_livraison' => 'matin', 'magasin' => [ 'id' => 132, 'nom' => 'Conforama Montpellier' ], 'client' => [ 'nom' => 'Dupont', 'prenom' => 'Robert', 'email' => 'dupont.robert@outlook.fr', 'tel_fixe' => '0123456789', 'tel_mobile' => '0612345678' ], 'adresse_livraison' => [ 'adresse' => '1 Avenue Charles de Gaulle', 'adresse2' => 'Appt 12', 'code_postal' => '34000', 'ville' => 'Montpellier', 'centre_ville' => false, 'ascenseur' => true, 'etage' => 1, 'latitude' => '1.5426547', 'longitude' => '42.6544869413' ], 'produits' => [ [ 'ean' => '0050644683542', 'nom' => 'ANDREIA coloris gris/blanc', 'quantite' => 1, 'montage' => true, ], [ 'ean' => '0050644683543', 'nom' => 'Bureau design fonctionnel avec etagere clove rouge', 'quantite' => 1, 'montage' => true, ], ] ]; echo(json_encode($array));

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.0060.00918.55
8.3.50.0110.00418.19
8.3.40.0160.00018.52
8.3.30.0030.01218.51
8.3.20.0040.00419.21
8.3.10.0040.00423.69
8.3.00.0000.00720.69
8.2.180.0150.00018.54
8.2.170.0040.01122.96
8.2.160.0040.01422.06
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00019.77
8.2.120.0030.00526.35
8.2.110.0050.00519.14
8.2.100.0120.00017.84
8.2.90.0000.00817.38
8.2.80.0080.00017.97
8.2.70.0050.00318.04
8.2.60.0060.00318.03
8.2.50.0050.00318.10
8.2.40.0040.00419.47
8.2.30.0040.00419.32
8.2.20.0040.00418.12
8.2.10.0040.00418.00
8.2.00.0080.00017.47
8.1.280.0090.00925.92
8.1.270.0040.00422.26
8.1.260.0000.00826.35
8.1.250.0080.00028.09
8.1.240.0090.00019.21
8.1.230.0090.00320.56
8.1.220.0080.00017.79
8.1.210.0080.00018.77
8.1.200.0060.00317.23
8.1.190.0030.00617.22
8.1.180.0000.00818.10
8.1.170.0040.00418.61
8.1.160.0040.00418.73
8.1.150.0000.00718.81
8.1.140.0000.00721.98
8.1.130.0000.00720.30
8.1.120.0080.00017.38
8.1.110.0000.00717.26
8.1.100.0030.00717.41
8.1.90.0000.00717.38
8.1.80.0000.00817.34
8.1.70.0000.00817.35
8.1.60.0000.00717.48
8.1.50.0070.00017.36
8.1.40.0000.00817.45
8.1.30.0080.00317.60
8.1.20.0000.00717.55
8.1.10.0040.00417.53
8.1.00.0080.00017.43
8.0.300.0000.00818.77
8.0.290.0060.00316.63
8.0.280.0040.00418.43
8.0.270.0070.00017.25
8.0.260.0060.00018.44
8.0.250.0030.00316.91
8.0.240.0000.00816.96
8.0.230.0000.00716.91
8.0.220.0030.00616.81
8.0.210.0000.00716.69
8.0.200.0060.00016.70
8.0.190.0040.00416.79
8.0.180.0000.00816.82
8.0.170.0000.00916.75
8.0.160.0050.00216.84
8.0.150.0030.00716.71
8.0.140.0000.00716.77
8.0.130.0060.00013.18
8.0.120.0000.00816.81
8.0.110.0070.00016.81
8.0.100.0040.00416.85
8.0.90.0040.00416.79
8.0.80.0080.01016.82
8.0.70.0000.00816.66
8.0.60.0000.00716.61
8.0.50.0050.00316.86
8.0.30.0110.00617.12
8.0.20.0110.01617.40
8.0.10.0000.00816.88
8.0.00.0110.00916.72
7.4.330.0050.00015.55
7.4.320.0000.00616.43
7.4.300.0000.00716.41
7.4.290.0000.00816.40
7.4.280.0050.00216.47
7.4.270.0000.00716.38
7.4.260.0000.00716.27
7.4.250.0040.00416.39
7.4.240.0070.00016.51
7.4.230.0040.00416.62
7.4.220.0000.00716.37
7.4.210.0100.00816.51
7.4.200.0070.00016.32
7.4.160.0100.00816.47
7.4.140.0100.00917.86
7.4.130.0040.01316.49
7.4.120.0090.00816.41
7.4.110.0140.00616.41
7.4.100.0100.01016.28
7.4.90.0090.00916.53
7.4.80.0100.00619.39
7.4.70.0100.01316.51
7.4.60.0130.00316.60
7.4.50.0130.00316.12
7.4.40.0140.00316.27
7.4.00.0060.00914.73
7.3.330.0060.00013.09
7.3.320.0000.00513.05
7.3.310.0090.00016.13
7.3.300.0030.00316.17
7.3.290.0070.00015.97
7.3.280.0050.01016.13
7.3.260.0080.01316.27
7.3.240.0100.01016.17
7.3.230.0070.01016.43
7.3.210.0090.00916.33
7.3.200.0160.00616.23
7.3.190.0130.01216.26
7.3.180.0130.00316.16
7.3.170.0140.00316.32
7.3.160.0030.01316.28
7.2.330.0130.00316.37
7.2.320.0100.00716.42
7.2.310.0080.01216.53
7.2.300.0090.01216.28
7.2.290.0170.00016.33
7.2.110.0450.01114.43
7.2.100.0110.00614.16
7.2.90.0060.01214.64
7.2.80.0350.01114.73
7.2.70.0560.00614.69
7.2.60.0180.00014.80
7.2.50.0330.00014.92
7.2.40.0310.00714.98
7.2.30.1520.00614.97
7.2.20.0870.01014.74
7.2.10.1360.01314.83
7.2.00.1080.01014.72
7.1.230.0720.00613.91
7.1.220.0370.01213.60
7.1.210.0060.01313.88
7.1.200.0930.00013.87
7.1.190.1170.00313.87
7.1.180.0120.00313.77
7.1.170.0350.01013.88
7.1.160.1340.00313.61
7.1.150.1740.00713.86
7.1.140.1330.00613.61
7.1.130.0920.01013.94
7.1.120.1680.00313.55
7.1.110.1110.01013.76
7.1.100.1020.01013.76
7.1.90.0820.00313.78
7.1.80.0630.01013.66
7.1.70.0840.00613.62
7.1.60.1340.01731.86
7.1.50.1600.01331.86
7.1.40.0950.01031.77
7.1.30.2610.01631.79
7.1.20.1450.01331.98
7.1.10.1200.00313.53
7.1.00.0840.00613.70
5.6.380.0040.01114.28

preferences:
61.98 ms | 400 KiB | 5 Q