3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $text = "715*RxZXfQva I have a badge machine and I'm not afraid to use it. Also a definite fan of Dogecoin and all related things."; $token = trim(substr($text, $startpos + strlen(VALIDATOR_ETSY_SUBJECT))); echo("token: " . $token);
Output for 5.1.0 - 5.6.28, hhvm-3.10.0, 7.0.0 - 7.1.0
Notice: Use of undefined constant VALIDATOR_ETSY_SUBJECT - assumed 'VALIDATOR_ETSY_SUBJECT' in /in/FgEnp on line 3 Notice: Undefined variable: startpos in /in/FgEnp on line 3 token: badge machine and I'm not afraid to use it. Also a definite fan of Dogecoin and all related things.
Output for hhvm-3.12.0
Notice: Use of undefined constant VALIDATOR_ETSY_SUBJECT - assumed 'VALIDATOR_ETSY_SUBJECT' in /in/FgEnp on line -1 Notice: Undefined variable: startpos in /in/FgEnp on line -1 token: badge machine and I'm not afraid to use it. Also a definite fan of Dogecoin and all related things.
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: startpos in /in/FgEnp on line 3 Notice: Use of undefined constant VALIDATOR_ETSY_SUBJECT - assumed 'VALIDATOR_ETSY_SUBJECT' in /in/FgEnp on line 3 token: badge machine and I'm not afraid to use it. Also a definite fan of Dogecoin and all related things.
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: startpos in /in/FgEnp on line 3 Notice: Use of undefined constant VALIDATOR_ETSY_SUBJECT - assumed 'VALIDATOR_ETSY_SUBJECT' in /in/FgEnp on line 3 token: badge machine and I'm not afraid to use it. Also a definite fan of Dogecoin and all related things.