3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $text = '‖‖‖‖‖‖‖‖‖‖'; $text = preg_split('//u',$str, -1, PREG_SPLIT_NO_EMPTY); for ($idx = 0; $idx < count($text); $idx++) { echo ord($text[$idx]) . PHP_EOL; }
Output for 5.5.0 - 5.6.28, hhvm-3.10.0, 7.0.0 - 7.1.0
Notice: Undefined variable: str in /in/6idsk on line 5
Output for hhvm-3.12.0
Notice: Undefined variable: str in /in/6idsk on line 3
Output for 4.3.0 - 5.4.45