3v4l.org

run code in 300+ PHP versions simultaneously
<?php //$HOMEPAGE = FILE_GET_CONTENTS('WWW.ROGERS.COM'); $homepage = true; if(!$homepage){ die("FILE_GET_CONTENTS_ERROR"); } $rogers = "<a href=\"/business/BSS.portal?_nfpb=true&_st=&_windowLabel=header_portlet&_urlType=action&wlpheader_portlet_action=changeLanguage&lang=fr\">francais</a>"; $pos = strpos($rogers, "francais"); if($pos === FALSE){ die("STRPOS_ERROR"); } $rogers = substr($rogers, 0, $pos); if(!$rogers){ die("SUBSTR_ERROR"); } echo($rogers); echo("\n\r"); $revrogers = strrev($rogers); echo($revrogers); $pos = strpos($rogers, "a>");
Output for git.master, git.master_jit, rfc.property-hooks
<a href="/business/BSS.portal?_nfpb=true&_st=&_windowLabel=header_portlet&_urlType=action&wlpheader_portlet_action=changeLanguage&lang=fr"> >"rf=gnal&egaugnaLegnahc=noitca_teltrop_redaehplw&noitca=epyTlru_&teltrop_redaeh=lebaLwodniw_&=ts_&eurt=bpfn_?latrop.SSB/ssenisub/"=ferh a<

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
38.99 ms | 401 KiB | 8 Q