3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = '<?php\n/*\n * Squelette : squelettes-dist/inc-pied.html\n * Date : Mon, 13 Apr 2009 15:10:27 GMT\n * Compile : Thu, 11 Apr 2024 15:09:55 GMT (0.7ms)\n * Pas de boucle\n */ \n\n//\n// Fonction principale du squelette squelettes-dist/inc-pied.html pour ?><?php echo "AAAAAA"; __halt_compiler();.\n//\nfunction html____php_echo__AAAAAA_____halt_compiler____d8829f3fa844421a77bda8b36e925128($Cache, $Pile, $doublons=array(), $Numrows=array(), $SP=0) {\n\n\n\tif (isset($Pile[0]["doublons"]) AND is_array($Pile[0]["doublons"]))\n\t\t$doublons = nettoyer_env_doublons($Pile[0]["doublons"]);\n\n\t$connect = \\'?><?php echo \\\\"AAAAAA\\\\"; __halt_compiler();\\';\n\t$page = (\n\\'<div id="pied">\n\t<a href="http://www.spip.net/" title="\\' .\n_T(\\'public/spip/ecrire:site_realise_avec_spip\\',array()) .\n\\'"><img src="\\' .\ninterdire_scripts(find_in_path(\\'spip.png\\')) .\n\\'" alt="SPIP" width="48" height="16" /></a> | \n\t<a href="\\' .\ninterdire_scripts(entites_html((@$Pile[0][\\'skel\\']),true)) .\n\\'" title="\\' .\n_T(\\'public/spip/ecrire:voir_squelette\\',array()) .\n\\'" rel="nofollow">\\' .\n_T(\\'public/spip/ecrire:squelette\\',array()) .\n\\'</a>\\' .\n(($t1 = strval(interdire_scripts(invalideur_session($Cache, ((is_array($a = ($GLOBALS["visiteur_session"])) ? $a[\\'id_auteur\\'] : "") ? \\' \\':\\'\\')))))!==\\'\\' ?\n\t\t(\\'\n\t\\' . $t1 . (\t\\'| <a href="\\' .\n\texecuter_balise_dynamique(\\'URL_LOGOUT\\',\n\tarray(),\n\tarray(\\'\\'), $GLOBALS[\\'spip_lang\\'],4) .\n\t\\'" rel="nofollow">\\' .\n\t_T(\\'public/spip/ecrire:icone_deconnecter\\',array()) .\n\t\\'</a>\n\t\\')) :\n\t\t\\'\\') .\n(($t1 = strval(interdire_scripts(invalideur_session($Cache, ((is_array($a = ($GLOBALS["visiteur_session"])) ? $a[\\'id_auteur\\'] : "") ? \\'\\':\\' \\')))))!==\\'\\' ?\n\t\t($t1 . (\t\\'| <a href="\\' .\n\tinterdire_scripts(parametre_url(generer_url_public(\\'login\\'),\\'url\\',self())) .\n\t\\'" rel="nofollow" class=\\\\\\'login_modal\\\\\\'>\\' .\n\t_T(\\'public/spip/ecrire:lien_connecter\\',array()) .\n\t\\'</a>\\')) :\n\t\t\\'\\') .\n(($t1 = strval(invalideur_session($Cache, (include_spip("inc/autoriser")&&autoriser(\\'ecrire\\')?" ":""))))!==\\'\\' ?\n\t\t(\\'\n\t\\' . $t1 . (\t\\'| <a href="\\' .\n\tinterdire_scripts(eval(\\'return \\'.\\'_DIR_RESTREINT_ABS\\'.\\';\\')) .\n\t\\'">\\' .\n\t_T(\\'public/spip/ecrire:espace_prive\\',array()) .\n\t\\'</a>\\')) :\n\t\t\\'\\') .\n\\' | \n\t<a rel="contents" href="\\' .\ninterdire_scripts(generer_url_public(\\'plan\\')) .\n\\'">\\' .\n_T(\\'public/spip/ecrire:plan_site\\',array()) .\n\\'</a> | \n\t<a href="\\' .\ninterdire_scripts(generer_url_public(\\'backend\\')) .\n\\'" rel="alternate" title="\\' .\n_T(\\'public/spip/ecrire:syndiquer_site\\',array()) .\n\\'"><img src="\\' .\ninterdire_scripts(find_in_path(\\'feed.png\\')) .\n\\'" alt="\\' .\n_T(\\'public/spip/ecrire:icone_suivi_activite\\',array()) .\n\\'" width="16" height="16" />&nbsp;RSS&nbsp;2.0</a>\n</div>\n\\' .\n"<!-- SPIP-CRON --><div style=\\\\"background-image: url(\\'http://192.168.1.35:8080/spip/spip.php?action=cron\\');\\\\"></div>" .\n\\'\n\\');\n\n\treturn analyse_resultat_skel(\\'html____php_echo__AAAAAA_____halt_compiler____d8829f3fa844421a77bda8b36e925128\\', $Cache, $page, \\'squelettes-dist/inc-pied.html\\');\n}\n\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.5.30.0270.00816.49
8.5.20.0240.00916.42
8.5.10.0320.00916.63
8.5.00.0340.00716.60
8.4.180.0370.00719.35
8.4.170.0230.01819.58
8.4.160.0120.00919.55
8.4.150.0070.00419.88
8.4.140.0230.01017.70
8.4.130.0160.00617.75
8.4.120.0240.01017.60
8.4.110.0330.00917.73
8.4.100.0240.00617.86
8.4.90.0190.00217.80
8.4.80.0190.00517.64
8.4.70.0220.00517.80
8.4.60.0150.00817.85
8.4.50.0240.00417.54
8.4.40.0180.00617.52
8.4.30.0170.00717.52
8.4.20.0300.01417.59
8.4.10.0410.00817.50
8.3.300.0230.01018.07
8.3.290.0380.00818.24
8.3.280.0140.01118.31
8.3.270.0360.00916.72
8.3.260.0320.00716.47
8.3.250.0390.00916.73
8.3.240.0180.00616.63
8.3.230.0370.00716.73
8.3.220.0370.00816.74
8.3.210.0310.01316.71
8.3.200.0430.00616.50
8.3.190.0330.01016.68
8.3.180.0280.01316.55
8.3.170.0340.00816.72
8.3.160.0490.00616.54
8.3.150.0390.00916.56
8.3.140.0230.00716.66
8.3.130.0170.00316.73
8.3.120.0170.00416.67
8.3.110.0150.00516.49
8.3.100.0370.01016.45
8.3.90.0410.01116.56
8.3.80.0270.00516.58
8.3.70.0310.00516.32
8.3.60.0370.00716.46
8.3.50.0210.01217.34
8.3.40.0360.00917.60
8.3.30.0310.00717.66
8.3.20.0320.00417.61
8.3.10.0220.01118.46
8.3.00.0260.00518.44
8.2.300.0230.00717.78
8.2.290.0230.01016.46
8.2.280.0250.01216.58
8.2.270.0350.00516.40
8.2.260.0300.00816.57
8.2.250.0300.00616.52
8.2.240.0320.00616.46
8.2.230.0300.00716.37
8.2.220.0310.00716.61
8.2.210.0310.00616.22
8.2.200.0300.01016.43
8.2.190.0370.00416.52
8.2.180.0260.00917.46
8.2.170.0290.00817.66
8.2.160.0360.00317.52
8.2.150.0290.00617.55
8.2.140.0310.00917.54
8.2.130.0330.00717.38
8.2.120.0310.00717.57
8.2.110.0310.00517.64
8.2.100.0270.00817.58
8.2.90.0250.01017.64
8.2.80.0310.00517.50
8.2.70.0270.00817.39
8.2.60.0190.00917.34
8.2.50.0320.00517.47
8.2.40.0230.01018.35
8.2.30.0340.00418.30
8.2.20.0260.00618.40
8.2.10.0250.00817.39
8.2.00.0260.00918.32
8.1.340.0410.01217.32
8.1.330.0330.01016.05
8.1.320.0300.00815.96
8.1.310.0270.01316.18
8.1.300.0160.01116.24
8.1.290.0280.00716.00
8.1.280.0270.00915.96
8.1.270.0220.00618.11
8.1.260.0310.00717.05
8.1.250.0310.00517.25
8.1.240.0260.00917.10
8.1.230.0280.00717.99
8.1.220.0220.00517.27
8.1.210.0210.00717.08
8.1.200.0280.00617.08
8.1.190.0200.00617.22
8.1.180.0270.00916.93
8.1.170.0300.00717.07
8.1.160.0260.00718.04
8.1.150.0230.00917.19
8.1.140.0220.01117.16
8.1.130.0290.00817.09
8.1.120.0250.01217.21
8.1.110.0280.00617.13
8.1.100.0310.00517.15
8.1.90.0220.00718.23
8.1.80.0180.01417.19
8.1.70.0250.00817.28
8.1.60.0320.00717.22
8.1.50.0270.00918.14
8.1.40.0290.00617.43
8.1.30.0290.00617.44
8.1.20.0270.01017.26
8.1.10.0270.00917.31
8.1.00.0250.01017.22
7.4.330.0300.01116.52

preferences:
156.35 ms | 1595 KiB | 7 Q