å æ¥ã¯ã大éã®ãããã¯ã²ã©ããã¿ã°ããããã¨ããããã¾ãããããããã PHP ã®çãããã¸ã³ã³ã¨ãã¦çªã£èµ°ãæåã§ãã é åã¯ã以ä¸ã®ããã«ãã¦ç¹ããã¨ã <?php class Ref { var $val; function __construct($a) { $this->val = $a; } } function ref($a) { return new Ref($a); } ref(array(1, 2, 3))->val[0]; PHP ã§å¼æ°ããã®ã¾ã¾è¿ãé¢æ°ãä½ã£ã¦ããã¨ä¾¿å© autobox ãããã¨ä¾¿å©ã ããããã¨ãããã¨ã§ä½ãã¾ããã <?php class IntObject { private $val; function __construct($val) { $this->val = $val; } function dump() { var_dump($t
{{#tags}}- {{label}}
{{/tags}}