3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dxPointers = '124'; /*if (!is_array($dxPointers)) { $dxPointers = (string)$dxPointers === '' ? [] : str_split($dxPointers); } print_r($dxPointers);*/ $dxPointers = (array) $dxPointers; print_r($dxPointers);
based on amSGq
Output for 4.3.0 - 7.2.0
Array ( [0] => 124 )