3v4l.org

run code in 500+ 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.0260.00816.48
8.5.20.0250.00816.51
8.5.10.0290.00616.57
8.5.00.0300.00516.55
8.4.180.0290.01019.60
8.4.170.0250.01119.63
8.4.160.0220.00719.54
8.4.150.0220.00819.74
8.4.140.0240.01117.72
8.4.130.0270.00617.66
8.4.120.0280.00817.75
8.4.110.0290.00817.81
8.4.100.0290.00617.79
8.4.90.0250.00717.83
8.4.80.0270.00617.74
8.4.70.0250.00917.76
8.4.60.0240.00617.83
8.4.50.0280.00817.64
8.4.40.0240.00817.62
8.4.30.0220.00717.55
8.4.20.0240.00817.70
8.4.10.0290.00517.66
8.3.300.0220.00818.12
8.3.290.0240.00618.32
8.3.280.0170.00918.30
8.3.270.0270.00816.74
8.3.260.0270.00716.70
8.3.250.0300.00716.71
8.3.240.0220.00516.68
8.3.230.0240.00716.74
8.3.220.0250.00816.71
8.3.210.0260.00816.69
8.3.200.0250.00616.67
8.3.190.0230.00816.63
8.3.180.0260.00916.70
8.3.170.0250.00816.58
8.3.160.0290.00716.66
8.3.150.0280.00616.62
8.3.140.0250.00716.62
8.3.130.0180.00516.71
8.3.120.0220.00516.70
8.3.110.0200.00616.70
8.3.100.0250.00716.67
8.3.90.0260.00816.74
8.3.80.0220.00816.69
8.3.70.0240.00616.62
8.3.60.0230.00716.72
8.3.50.0210.00816.94
8.3.40.0280.00917.80
8.3.30.0260.00717.83
8.3.20.0270.00717.75
8.3.10.0230.01018.03
8.3.00.0190.00718.14
8.2.300.0300.00617.79
8.2.290.0200.00716.67
8.2.280.0190.00716.66
8.2.270.0270.00716.52
8.2.260.0270.00816.58
8.2.250.0260.00916.66
8.2.240.0270.00716.61
8.2.230.0270.00716.50
8.2.220.0270.00716.60
8.2.210.0280.00716.46
8.2.200.0270.00816.58
8.2.190.0280.00716.59
8.2.180.0260.00917.00
8.2.170.0260.00717.87
8.2.160.0280.00617.72
8.2.150.0280.00717.63
8.2.140.0290.00817.61
8.2.130.0280.00817.57
8.2.120.0280.00717.59
8.2.110.0290.00717.72
8.2.100.0250.00817.60
8.2.90.0250.00917.76
8.2.80.0280.00617.59
8.2.70.0260.00717.59
8.2.60.0230.00717.52
8.2.50.0250.00517.67
8.2.40.0230.00717.93
8.2.30.0230.00617.94
8.2.20.0240.00617.98
8.2.10.0230.00817.55
8.2.00.0220.00917.95
8.1.340.0290.00917.40
8.1.330.0240.01116.25
8.1.320.0280.00616.24
8.1.310.0260.00816.30
8.1.300.0220.00816.30
8.1.290.0260.00716.30
8.1.280.0220.00816.17
8.1.270.0210.00617.71
8.1.260.0280.00717.25
8.1.250.0270.00617.43
8.1.240.0230.00817.29
8.1.230.0240.00817.64
8.1.220.0240.00617.44
8.1.210.0220.00717.24
8.1.200.0240.00717.30
8.1.190.0220.00817.31
8.1.180.0250.00917.23
8.1.170.0260.00817.33
8.1.160.0240.00817.67
8.1.150.0230.00817.37
8.1.140.0220.00717.37
8.1.130.0260.00717.33
8.1.120.0230.00917.39
8.1.110.0250.00717.29
8.1.100.0270.00617.36
8.1.90.0220.00617.79
8.1.80.0210.01017.38
8.1.70.0230.00717.43
8.1.60.0270.00717.52
8.1.50.0230.01017.84
8.1.40.0240.00717.59
8.1.30.0250.00717.59
8.1.20.0220.00817.59
8.1.10.0210.00817.44
8.1.00.0230.00817.44

preferences:
46.18 ms | 983 KiB | 4 Q