3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $CHECKVOTINGROW[VOTECHOICES] = 'UUUSSS1'; ECHO $CHECKVOTINGROW[VOTECHOICES]; ECHO $STRREPLACECHECKVOTECHOICES = STR_REPLACE("U","",$CHECKVOTINGROW[VOTECHOICES]);
Output for 7.2.0
Warning: Use of undefined constant VOTECHOICES - assumed 'VOTECHOICES' (this will throw an Error in a future version of PHP) in /in/SZVJU on line 3 Warning: Use of undefined constant VOTECHOICES - assumed 'VOTECHOICES' (this will throw an Error in a future version of PHP) in /in/SZVJU on line 4 UUUSSS1 Warning: Use of undefined constant VOTECHOICES - assumed 'VOTECHOICES' (this will throw an Error in a future version of PHP) in /in/SZVJU on line 5 SSS1
Output for 5.5.0 - 7.1.10
Notice: Use of undefined constant VOTECHOICES - assumed 'VOTECHOICES' in /in/SZVJU on line 3 Notice: Use of undefined constant VOTECHOICES - assumed 'VOTECHOICES' in /in/SZVJU on line 4 UUUSSS1 Notice: Use of undefined constant VOTECHOICES - assumed 'VOTECHOICES' in /in/SZVJU on line 5 SSS1
Output for 4.3.0 - 5.4.45
UUUSSS1SSS1