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 = "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); $revrogers = strrev($rogers); echo($revrogers);
Output for git.master, git.master_jit, rfc.property-hooks
Warning: Undefined variable $ROGERS in /in/BaYAL on line 9 Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /in/BaYAL on line 9 STRPOS_ERROR

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:
33.69 ms | 401 KiB | 8 Q