3v4l.org

run code in 300+ PHP versions simultaneously
<?php $GLOBALS['export_xls']['dossiers'] = array( 'cols' => array( array( 'label' => 'Réf. dossier', 'width' => 15, 'value' => '"%ref_dossier%"', 'write_method' => 'write_string' ), array( 'label' => 'Date d\'inscription du client', 'width' => 25, 'value' => 'format_date_to_excel("%dateInscription%")', 'format' => 'datetime' ), array( 'label' => 'Inscription par', 'width' => 30, 'value' => 'utf8_decode (nettoyage_csv (p2e_sinon(trim("%createurNom%".\' \'."%createurPrenom%"), \'client\')))', 'write_method' => 'write_string' ), array( 'label' => 'Date de création du dossier', 'width' => 25, 'value' => 'format_date_to_excel("%dateCrea%")', 'format' => 'datetime' ), array( 'label' => 'Code de type de travaux (opération)', 'width' => 30, 'value' => 'utf8_decode (nettoyage_csv ("%code_operation_type%"))', 'write_method' => 'write_string' ), array( 'label' => 'Type de travaux (opération)', 'width' => 50, 'value' => 'utf8_decode (nettoyage_csv ("%lib_trav%"))', 'write_method' => 'write_string' ), array( 'label' => 'Date d\'engagement de l\'opération', 'width' => 26, 'value' => 'format_date_to_excel("%date_engagement%")', 'format' => 'date' ), array( 'label' => 'Date d\'achèvement de l\'opération', 'width' => 26, 'value' => 'format_date_to_excel("%date_facture%")', 'format' => 'date' ), array( 'label' => 'Date d\'expiration', 'width' => 20, 'value' => 'format_date_to_excel(filtre_get_date_expiration("%id_dossier%"))', 'format' => 'date' ), array( 'label' => 'Réf. client', 'width' => 10, 'value' => '"%ref_client%"', 'write_method' => 'write_string' ), array( 'label' => 'Civilité', 'width' => 10, 'value' => 'formater_nom(array(\'code_civilite\' => "%code_civilite%"),\'@s\')', 'write_method' => 'write_string' ), array( 'label' => 'Nom', 'width' => 30, 'value' => 'utf8_decode (formater_nom(array(\'nom\' => "%nom%"),\'@N\'))', 'write_method' => 'write_string' ), array( 'label' => 'Prénom', 'width' => 30, 'value' => 'utf8_decode (formater_nom(array(\'prenom\' => "%prenom%"),\'@p\'))', 'write_method' => 'write_string' ), array( 'label' => 'Adresse client', 'width' => 50, 'value' => 'utf8_decode (nettoyage_csv ( trim( "%cli_adr0%" .\' \'. "%cli_adr1%" .\' \'. "%cli_adr2%" .\' \'. "%cli_adr3%")))', 'write_method' => 'write_string' ), array( 'label' => 'CP client', 'width' => 10, 'value' => 'utf8_decode (nettoyage_csv ("%auteur_cp%"))', 'write_method' => 'write_number', 'format' => 'code_postal' ), array( 'label' => 'Ville client', 'width' => 30, 'value' => 'utf8_decode (nettoyage_csv ("%auteur_ville%"))', 'write_method' => 'write_string' ), array( 'label' => 'Pays client', 'width' => 10, 'value' => 'utf8_decode (nettoyage_csv ("%auteur_code_pays%"))', 'write_method' => 'write_string' ), array( 'label' => 'Tél. Domicile', 'width' => 15, 'value' => '"%tel_fixe%"', 'format' => 'telephone' ), array( 'label' => 'Tél. Mobile', 'width' => 15, 'value' => '"%tel_port%"', 'format' => 'telephone' ), array( 'label' => 'Tél. Professionnel', 'width' => 15, 'value' => '"%tel_prof%"', 'format' => 'telephone' ), array( 'label' => 'Email', 'width' => 40, 'value' => 'utf8_decode (nettoyage_csv ("%email%"))', 'write_method' => 'write_string' ), array( 'label' => 'Prime attribuable', 'width' => 20, 'value' => '"%prime_estimee%"', 'write_method' => 'write_number', 'format' => 'prime' ), array( 'label' => 'Prime attribuée', 'width' => 20, 'value' => '"%prime_attribuee%"', 'write_method' => 'write_number', 'format' => 'prime' ), array( 'label' => 'Kwatt', 'width' => 15, 'value' => '"%kwatt%"', 'write_method' => 'write_number' ), array( 'label' => 'R', 'width' => 5, 'value' => 'utf8_decode( nettoyage_csv( nettoyage_caracteres_speciaux (affichage_surface_habitable("%r%", "%code_operation_type%"))))', 'write_method' => 'write_string' ), array( 'label' => 'COP', 'width' => 20, 'value' => 'utf8_decode( nettoyage_csv( nettoyage_caracteres_speciaux (affichage_cop_facteur("%facteur_1%", "%facteur_2%", "%facteur_3%", "%code_operation_type%"))))', 'write_method' => 'write_string' ), array( 'label' => 'Surface (ou Quantité)', 'width' => 20, 'value' => 'utf8_decode( nettoyage_csv( nettoyage_caracteres_speciaux (surface_ou_quantite_facteur("%facteur_1%", "%facteur_2%", "%facteur_3%"))))', 'write_method' => 'write_string' ), array( 'label' => 'Information supplémentaire', 'width' => 30, 'value' => 'utf8_decode( nettoyage_csv( nettoyage_caracteres_speciaux (affichage_info_supp_chauff("%cop%", "%code_operation_type%"))))', 'write_method' => 'write_string' ), array( 'label' => 'Surface habitable', 'width' => 20, 'value' => 'utf8_decode( nettoyage_csv( nettoyage_caracteres_speciaux (affichage_surface_habitable("%surface_habitable%", "%code_operation_type%"))))', 'write_method' => 'write_string' ), array( 'label' => 'Travaux année de construction', 'width' => 35, 'value' => 'utf8_decode( nettoyage_csv( _T(\'p2e_saisies:saisie_annee_construction_\'."%annee_construction%")))', 'write_method' => 'write_string' ), array( 'label' => 'Travaux type logement', 'width' => 50, 'value' => 'utf8_decode( nettoyage_csv( _T(\'p2e_saisies:saisie_type_logement_\'."%type_logement%")))', 'write_method' => 'write_string' ), array( 'label' => 'Travaux type chauffage', 'width' => 35, 'value' => 'utf8_decode( nettoyage_csv( _T(\'p2e_saisies:saisie_type_chauffage_\'."%type_chauffage%")))', 'write_method' => 'write_string' ), array( 'label' => 'Statut dossier', 'width' => 40, 'value' => 'utf8_decode (nettoyage_csv ("%statut_dossier%"))', 'write_method' => 'write_string' ), array( 'label' => 'Date changement statut', 'width' => 20, 'value' => 'format_date_to_excel("%date%")', 'format' => 'datetime' ), array( 'label' => 'Auteur changement statut', 'width' => 30, 'value' => 'utf8_decode (nettoyage_csv ("%auteurModifPrenom%" .\' \'. "%auteurModifNom%"))', 'write_method' => 'write_string' ), array( 'label' => 'Travaux adresse', 'width' => 50, 'value' => 'utf8_decode (nettoyage_csv ( trim( "%adr_lib1%" .\' \'. "%adr_lib2%" .\' \'. "%adr_lib3%" .\' \'. "%adr_lib4%")))', 'write_method' => 'write_string' ), array( 'label' => 'Travaux CP', 'width' => 15, 'value' => 'utf8_decode (nettoyage_csv ("%adr_cp%"))', 'write_method' => 'write_number', 'format' => 'code_postal' ), array( 'label' => 'Travaux Ville', 'width' => 30, 'value' => 'utf8_decode (nettoyage_csv ("%adr_ville%"))', 'write_method' => 'write_string' ), array( 'label' => 'Travaux Département', 'width' => 25, 'value' => '"%code_departement%"', 'write_method' => 'write_number', 'format' => 'departement' ), array( 'label' => 'Travaux Pays', 'width' => 20, 'value' => 'utf8_decode (nettoyage_csv ("%code_pays%"))', 'write_method' => 'write_string' ), array( 'label' => 'Lot emmy', 'width' => 20, 'value' => 'utf8_decode (nettoyage_csv ("%lib_lot%"))', 'write_method' => 'write_string' ), ) ); $auteur_cp_index = array_search( array( 'label' => 'CP client', 'width' => 10, 'value' => 'utf8_decode (nettoyage_csv ("%auteur_cp%"))', 'write_method' => 'write_number', 'format' => 'code_postal' ), $GLOBALS['export_xls']['dossiers']['cols']); $GLOBALS['export_xls']['dossiers']['cols'] = array_replace($GLOBALS['export_xls']['dossiers']['cols'], array( $auteur_index_cp => array( 'label' => 'CP client', 'width' => 10, 'value' => 'utf8_decode (nettoyage_csv ("%auteur_cp%"))', 'write_method' => 'write_string', 'format' => 'code_postal' ) )); var_dump($GLOBALS['export_xls']['dossiers']['cols']);

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.0140.00316.88
8.3.50.0120.00921.33
8.3.40.0140.00318.63
8.3.30.0140.00418.63
8.3.20.0050.00320.34
8.3.10.0040.00421.95
8.3.00.0060.00323.48
8.2.180.0130.00318.66
8.2.170.0130.00322.96
8.2.160.0110.00722.13
8.2.150.0060.00324.18
8.2.140.0090.00024.66
8.2.130.0090.00020.75
8.2.120.0090.00026.35
8.2.110.0040.00722.08
8.2.100.0150.00317.91
8.2.90.0060.00319.22
8.2.80.0060.00317.97
8.2.70.0050.00517.75
8.2.60.0080.00018.03
8.2.50.0030.00618.09
8.2.40.0040.00422.14
8.2.30.0000.00819.62
8.2.20.0080.00017.77
8.2.10.0080.00018.20
8.2.00.0000.00918.16
8.1.280.0130.01325.92
8.1.270.0060.00322.19
8.1.260.0090.00028.09
8.1.250.0060.00328.09
8.1.240.0070.00420.88
8.1.230.0090.00317.83
8.1.220.0030.00617.74
8.1.210.0060.00318.77
8.1.200.0030.00717.35
8.1.190.0060.00317.22
8.1.180.0000.00918.10
8.1.170.0030.00618.59
8.1.160.0040.00420.70
8.1.150.0030.00520.52
8.1.140.0030.00619.65
8.1.130.0000.00817.80
8.1.120.0030.00517.41
8.1.110.0000.00917.45
8.1.100.0030.00617.39
8.1.90.0040.00417.54
8.1.80.0070.00417.40
8.1.70.0050.00217.55
8.1.60.0030.00517.64
8.1.50.0080.00017.44
8.1.40.0030.00717.61
8.1.30.0000.00917.79
8.1.20.0070.00317.70
8.1.10.0000.00817.45
8.1.00.0030.00517.38
8.0.300.0110.00018.77
8.0.290.0040.00416.88
8.0.280.0040.00418.48
8.0.270.0040.00417.35
8.0.260.0050.00317.30
8.0.250.0040.00417.12
8.0.240.0060.00317.07
8.0.230.0000.00816.97
8.0.220.0040.00417.02
8.0.210.0040.00417.02
8.0.200.0000.00817.09
8.0.190.0030.00717.01
8.0.180.0040.00417.04
8.0.170.0060.00316.97
8.0.160.0060.00316.96
8.0.150.0030.00516.80
8.0.140.0030.00717.00
8.0.130.0060.00313.43
8.0.120.0060.00316.88
8.0.110.0060.00316.99
8.0.100.0030.00616.87
8.0.90.0080.00017.13
8.0.80.0110.00616.96
8.0.70.0000.00817.04
8.0.60.0030.00516.90
8.0.50.0040.00417.04
8.0.30.0100.01317.12
8.0.20.0180.00617.40
8.0.10.0000.00817.02
8.0.00.0170.00916.91
7.4.330.0030.00316.70
7.4.320.0030.00316.56
7.4.300.0030.00516.61
7.4.290.0030.00516.57
7.4.280.0030.00616.55
7.4.270.0040.00416.56
7.4.260.0030.00516.54
7.4.250.0080.00016.46
7.4.240.0050.00316.60
7.4.230.0000.00816.39
7.4.220.0120.00916.42
7.4.210.0060.01616.63
7.4.200.0000.00816.76
7.4.160.0090.01216.66
7.4.150.0200.00317.40
7.4.140.0150.01217.86
7.4.130.0150.01116.70
7.4.120.0220.00716.52
7.4.110.0130.01016.54
7.4.100.0220.01016.63
7.4.90.0120.00916.58
7.4.80.0110.01519.39
7.4.70.0170.00616.79
7.4.60.0100.01316.64
7.4.50.0000.01616.25
7.4.40.0240.00316.57
7.4.30.0170.01016.48
7.4.00.0110.00714.98
7.3.330.0080.00013.06
7.3.320.0000.00613.24
7.3.310.0040.00416.15
7.3.300.0040.00416.34
7.3.290.0040.00416.29
7.3.280.0090.01416.35
7.3.270.0060.01517.40
7.3.260.0130.00916.35
7.3.250.0100.01516.49
7.3.240.0150.00816.42
7.3.230.0080.01216.46
7.3.210.0130.01016.52
7.3.200.0080.01419.39
7.3.190.0110.00916.61
7.3.180.0090.01116.33
7.3.170.0060.01816.47
7.3.160.0110.00716.52
7.2.330.0170.00716.87
7.2.320.0130.01016.60
7.2.310.0160.01116.43
7.2.300.0080.01416.40
7.2.290.0140.00816.73
7.2.110.0170.00316.50
7.2.100.0030.01716.55
7.2.90.0070.01416.60
7.2.80.0080.01516.49
7.2.70.0390.00717.13
7.2.60.0110.00816.96
7.2.50.0140.00316.85
7.2.40.0190.00316.85
7.2.30.0290.00717.09
7.2.20.0170.00016.96
7.2.10.0120.00416.93
7.2.00.0050.01118.19
7.1.230.0110.00715.74
7.1.220.0110.00715.59
7.1.210.0100.00715.66
7.1.200.0090.00715.70
7.1.190.0080.00815.80
7.1.180.0390.00615.69
7.1.170.0170.00315.69
7.1.160.0170.00315.71
7.1.150.0130.00315.71
7.1.140.0060.01615.80
7.1.130.0000.01415.76
7.1.120.0380.01015.54
7.1.110.0470.00615.78
7.1.100.0120.00416.81
7.1.90.0130.00815.87
7.1.80.0090.00515.74
7.1.70.0060.00616.26
7.1.60.0130.01017.59
7.1.50.0100.01216.35
7.1.40.0160.00315.76
7.1.30.0110.00815.87
7.1.20.0230.00315.93
7.1.10.0070.00715.73
7.1.00.0090.04319.11
7.0.310.0120.00615.30
7.0.300.0110.00715.50
7.0.290.0130.00815.07
7.0.280.0110.00515.25
7.0.270.0330.00415.25
7.0.260.0100.01015.05
7.0.250.0090.00415.46
7.0.240.0250.01415.04
7.0.230.0160.00315.29
7.0.220.0130.00515.37
7.0.210.0090.00315.32
7.0.200.0080.00515.91
7.0.190.0100.01015.13
7.0.180.0120.00915.56
7.0.170.0040.00815.27
7.0.160.0260.00315.18
7.0.150.0100.00915.46
7.0.140.0130.00015.48
7.0.130.0090.00615.22
7.0.120.0210.00315.48
7.0.110.0160.00315.32
7.0.100.0140.00715.47
7.0.90.0110.00815.21
7.0.80.0080.00515.18
7.0.70.0030.01415.43
7.0.60.0100.04718.66
7.0.50.0130.02316.65
7.0.40.0090.03816.88
7.0.30.0160.04916.80
7.0.20.0230.03216.83
7.0.10.0060.05016.79
7.0.00.0090.04416.75
5.6.380.0080.00614.42
5.6.370.0090.00914.03
5.6.360.0140.00714.38
5.6.350.0140.00014.74
5.6.340.0160.00314.62
5.6.330.0090.00614.34
5.6.320.0110.00614.16
5.6.310.0100.00614.29
5.6.300.0100.00614.40
5.6.290.0090.00414.23
5.6.280.0070.01917.56
5.6.270.0090.00914.36
5.6.260.0180.00014.50
5.6.250.0170.00014.40
5.6.240.0150.00014.36
5.6.230.0080.00414.30
5.6.220.0060.01214.32
5.6.210.0070.04017.49
5.6.200.0110.02516.31
5.6.190.0090.04517.40
5.6.180.0200.04317.57
5.6.170.0140.03617.29
5.6.160.0160.03717.34
5.6.150.0050.03516.42
5.6.140.0120.04216.27
5.6.130.0160.03716.29
5.6.120.0140.04017.62
5.6.110.0130.04017.75
5.6.100.0110.02217.67
5.6.90.0140.03417.62
5.6.80.0140.04217.34
5.6.70.0150.00314.21
5.6.60.0090.00414.51
5.6.50.0100.01014.73
5.6.40.0130.00614.18
5.6.30.0100.00414.36
5.6.20.0120.00614.30
5.6.10.0080.00814.61
5.6.00.0140.00514.31
5.5.380.0120.00012.79
5.5.370.0130.00012.79
5.5.360.0080.00412.79
5.5.350.0170.04216.66
5.5.340.0090.02315.42
5.5.330.0110.04216.57
5.5.320.0240.03516.50
5.5.310.0160.02816.53
5.5.300.0040.03115.40
5.5.290.0050.02315.40
5.5.280.0020.02816.80
5.5.270.0130.03516.88
5.5.260.0130.03516.73
5.5.250.0070.04916.80
5.5.240.0160.03716.49
5.5.230.0090.00612.79
5.5.220.0110.00312.79
5.5.210.0120.00312.79
5.5.200.0080.00812.79
5.5.190.0060.00612.79
5.5.180.0150.00012.79
5.5.170.0090.00714.09
5.5.160.0090.00412.79
5.5.150.0130.00012.79
5.5.140.0160.00012.79
5.5.130.0100.00012.79
5.5.120.0130.00212.79
5.5.110.0050.00512.79
5.5.100.0120.00012.79
5.5.90.0130.00012.79
5.5.80.0110.00412.79
5.5.70.0000.01212.79
5.5.60.0140.00012.79
5.5.50.0090.00312.79
5.5.40.0150.00012.79
5.5.30.0070.00712.79
5.5.20.0110.00512.79
5.5.10.0040.00812.79
5.5.00.0070.00712.79

preferences:
54.11 ms | 401 KiB | 5 Q