3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?php //0046a if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('Site error: the file <b>'.__FILE__.'</b> requires the ionCube PHP Loader '.basename($__ln).' to be installed by the website operator. If you are the website operator please use the <a href="http://www.ioncube.com/lw/">ionCube Loader Wizard</a> to assist with installation.');exit(199); ?> HR+cPxf1ZGa1btKkoFiOAfZhbdzrZkl76O1RBB2iO4ajyxi9/UmNM3jH2+67AQe62/xkSEad2f3t QgfpLODOYEFZXf7UMwl9o055nGBDOmPGtoiT46O5NW4WkF+WTa4PoPbtjZFp8enI9w6oqGoDCpNE 8geMVUelEfHF1t1Zeggc2362x91pM7DX16TQYpx68kkSjd+nIiasSvyz1/kzphbEYeiPbu5/ojMU XygrSlFd0/T8Im9hXNIieLbZ8T/IzcSgVLHLP1wRkvXUgrOMlx3Eirth8UbrqSyXnIBGypev90Nr rPVS3mX44JzMpvuiybcSHcjrm9QaBEYFT58JKUI8muys3B6b8qonYTpzey/2NkhvLJxZHne3IG0H OTzPDVjECxgHejrER1+Ftkvw4UkR7PCms8LdODcPmUvGShctFeFSYHc3EBafz1OKuPkLT7yD6Xsh W1tl7f2mUzPi4OX/deJN1xMpWwG+FbOMPEdiWHNaak0RM4k/GZQXhljKorle1sgV2tXeAPYN+5Py OosZl4TOPiIkqu53+/prhQikWH59ERRECrY6NDD4OnaJa5alHf+ZRGFbfZy80rqtLPxGo7aiRLk3 GLMpY9FI/dGXnPjSvtjRiJR+aO5liZ4uElWPeR4GwsPVZtA630CEvL/OBqsIpVFdgAv7SlWd6SVe 59d0JFzYxASLJdcEmLJVEabJ01AxN/cqw9gEGG==

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)
7.0.20.0200.04020.13
7.0.10.0130.08320.19
7.0.00.0100.03720.29
5.6.170.0330.07020.58
5.6.160.0070.04320.48
5.6.150.0030.07718.18
5.6.140.0100.05318.23
5.6.130.0070.08018.21
5.6.120.0070.08021.13
5.6.110.0100.06020.97
5.6.100.0070.03721.07
5.6.90.0030.04321.00
5.6.80.0100.07720.42
5.5.310.0300.07020.19
5.5.300.0070.08717.98
5.5.290.0070.08717.98
5.5.280.0030.04720.87
5.5.270.0070.04320.64
5.5.260.0100.07720.95
5.5.250.0030.07020.79
5.5.240.0100.07020.25

preferences:
141.65 ms | 1394 KiB | 7 Q