<?php class bob{ public $args; public $something = 2; public function _construct(){ $this->args= array(1,2,3,4); } } $b = new bob(); echo json_encode ($b); ?>
You have javascript disabled. You will not be able to edit any code.