3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = "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 - 7.1.0
Notice: Undefined variable: text in /in/tQNVQ on line 3 Notice: Use of undefined constant VALIDATOR_ETSY_SUBJECT - assumed 'VALIDATOR_ETSY_SUBJECT' in /in/tQNVQ on line 3 Notice: Undefined variable: startpos in /in/tQNVQ on line 3 token:
Output for 5.0.4 - 5.0.5
Notice: Undefined variable: text in /in/tQNVQ on line 3 Notice: Undefined variable: startpos in /in/tQNVQ on line 3 Notice: Use of undefined constant VALIDATOR_ETSY_SUBJECT - assumed 'VALIDATOR_ETSY_SUBJECT' in /in/tQNVQ on line 3 token:
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: text in /in/tQNVQ on line 3 Notice: Undefined variable: startpos in /in/tQNVQ on line 3 Notice: Use of undefined constant VALIDATOR_ETSY_SUBJECT - assumed 'VALIDATOR_ETSY_SUBJECT' in /in/tQNVQ on line 3 token: