3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function fetch_row() { return array('2016-05-13'); } } $mysqliResult = new Foo(); var_dump($mysqliResult->fetch_row()[0]);

preferences:
34.01 ms | 407 KiB | 5 Q