3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $sqlrecord = array(array('pass' => '1575')); var_dump($sqlrecord); print_r($sqlrecord); var_dump($sqlrecord[0]['pass']); var_dump($sqlrecord['0']['pass']);
based on YhFiY
Output for 4.3.0 - 7.1.0
array(1) { [0]=> array(1) { ["pass"]=> string(4) "1575" } } Array ( [0] => Array ( [pass] => 1575 ) ) string(4) "1575" string(4) "1575"