3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php //$HOMEPAGE = FILE_GET_CONTENTS('WWW.ROGERS.COM'); $homepage = true; if(!$homepage){ die("FILE_GET_CONTENTS_ERROR"); } $rogers = "E HREF=HTTPS://WWW.ROGERS.COM/BUSINESS/BSS.PORTAL?_NFPB=TRUE&_ST=&_WINDOWLABEL=HEADER_PORTLET&_URLTYPE=ACTION&WLPHEADER_PORTLET_ACTION=CHANGELANGUAGE&LANG=FR>FRANCAISAPRèS"; $pos = strpos($rogers, "FRANCAIS"); if($pos === FALSE){ die("STRPOS_ERROR"); } $rogers = substr($rogers, 0, $pos); if(!$rogers){ die("SUBSTR_ERROR"); } echo($rogers); echo("/n<br>"); $revrogers = strrev($rogers); echo($revrogers);
based on Acni5
Output for 4.3.0 - 7.2.0
E HREF=HTTPS://WWW.ROGERS.COM/BUSINESS/BSS.PORTAL?_NFPB=TRUE&_ST=&_WINDOWLABEL=HEADER_PORTLET&_URLTYPE=ACTION&WLPHEADER_PORTLET_ACTION=CHANGELANGUAGE&LANG=FR>/n<br>>RF=GNAL&EGAUGNALEGNAHC=NOITCA_TELTROP_REDAEHPLW&NOITCA=EPYTLRU_&TELTROP_REDAEH=LEBALWODNIW_&=TS_&EURT=BPFN_?LATROP.SSB/SSENISUB/MOC.SREGOR.WWW//:SPTTH=FERH E