<?php class testing { public function fetch_array() { return array('version' => '1.2.3'); } } $result = new testing(); $k =strpos($result->fetch_array()['version'], '2.3'); echo $k;
You have javascript disabled. You will not be able to edit any code.