3v4l.org

run code in 200+ 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 - 7.1.10
Notice: Undefined variable: str in /in/6idsk on line 5
Output for 4.3.0 - 5.4.45