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.0310.00916.34
8.5.20.0300.00816.38
8.5.10.0350.00616.45
8.5.00.0360.00516.43
8.4.180.0340.01019.49
8.4.170.0290.01219.57
8.4.160.0260.00719.50
8.4.150.0240.00819.75
8.4.140.0290.01117.74
8.4.130.0320.00617.65
8.4.120.0330.00817.73
8.4.110.0350.00817.81
8.4.100.0350.00717.80
8.4.90.0300.00617.80
8.4.80.0320.00517.70
8.4.70.0300.00817.79
8.4.60.0290.00617.82
8.4.50.0330.00817.60
8.4.40.0290.00717.60
8.4.30.0270.00517.49
8.4.20.0290.00917.66
8.4.10.0350.00517.62
8.3.300.0270.00818.06
8.3.290.0290.00718.30
8.3.280.0200.00818.29
8.3.270.0340.00916.68
8.3.260.0320.00916.63
8.3.250.0370.00716.64
8.3.240.0250.00616.61
8.3.230.0310.00716.69
8.3.220.0310.00616.65
8.3.210.0310.00916.61
8.3.200.0310.00516.60
8.3.190.0270.00816.54
8.3.180.0300.01016.63
8.3.170.0310.00716.47
8.3.160.0340.00616.58
8.3.150.0330.00616.53
8.3.140.0290.00816.53
8.3.130.0210.00616.65
8.3.120.0260.00516.64
8.3.110.0240.00516.64
8.3.100.0300.00816.59
8.3.90.0300.00816.68
8.3.80.0260.00716.62
8.3.70.0280.00516.53
8.3.60.0280.00616.67
8.3.50.0230.00816.94
8.3.40.0330.00917.73
8.3.30.0300.00717.80
8.3.20.0310.00717.68
8.3.10.0260.01018.03
8.3.00.0210.00718.17
8.2.300.0360.00517.78
8.2.290.0220.00716.59
8.2.280.0200.00716.58
8.2.270.0290.00716.39
8.2.260.0300.00816.47
8.2.250.0300.00816.58
8.2.240.0300.00716.52
8.2.230.0300.00816.36
8.2.220.0320.00516.50
8.2.210.0310.00716.31
8.2.200.0310.00816.47
8.2.190.0320.00716.49
8.2.180.0280.00817.03
8.2.170.0270.00717.83
8.2.160.0300.00617.71
8.2.150.0300.00617.64
8.2.140.0310.00817.58
8.2.130.0310.00717.56
8.2.120.0310.00717.57
8.2.110.0310.00817.72
8.2.100.0260.00817.62
8.2.90.0260.00917.76
8.2.80.0300.00617.60
8.2.70.0280.00817.55
8.2.60.0230.00817.45
8.2.50.0280.00517.67
8.2.40.0240.00718.00
8.2.30.0260.00618.03
8.2.20.0260.00518.03
8.2.10.0250.00817.50
8.2.00.0250.00918.01
8.1.340.0360.00917.36
8.1.330.0280.01116.03
8.1.320.0330.00616.02
8.1.310.0290.00816.10
8.1.300.0250.00816.10
8.1.290.0290.00716.10
8.1.280.0230.00815.99
8.1.270.0230.00617.74
8.1.260.0310.00717.24
8.1.250.0300.00517.39
8.1.240.0250.00917.22
8.1.230.0270.00817.69
8.1.220.0260.00517.41
8.1.210.0240.00717.23
8.1.200.0260.00717.29
8.1.190.0230.00817.25
8.1.180.0270.01017.18
8.1.170.0290.00817.26
8.1.160.0260.00817.74
8.1.150.0250.00817.31
8.1.140.0230.00817.33
8.1.130.0280.00717.26
8.1.120.0250.01017.36
8.1.110.0290.00617.22
8.1.100.0300.00617.33
8.1.90.0230.00617.87
8.1.80.0220.01017.38
8.1.70.0250.00717.38
8.1.60.0300.00817.46
8.1.50.0260.01017.89
8.1.40.0270.00617.56
8.1.30.0270.00717.57
8.1.20.0250.00817.49
8.1.10.0230.00917.41
8.1.00.0260.00817.38
7.4.290.0240.00716.59

preferences:
37.9 ms | 987 KiB | 4 Q