From 2859fb2a20d0c75a59841046917a9edb8ca88e7b Mon Sep 17 00:00:00 2001 From: dewana_kl <53048107+dewanakl@users.noreply.github.com> Date: Mon, 6 Mar 2023 16:02:56 +0700 Subject: [PATCH] Delete play.php --- play.php | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 play.php diff --git a/play.php b/play.php deleted file mode 100644 index 2d0da49..0000000 --- a/play.php +++ /dev/null @@ -1,41 +0,0 @@ -tess[$name]; - } - - /** - * @param mixed $tess - */ - public function setTess($name, $val) - { - $this->tess[$name] = $val; - } -} - - -// $o = new A; - -// $o->setTess('abc', [1, 2, 3]); - -// var_dump($o->getTess('abc')); - -// $o->getTess('abc')[1] = 99; - -// var_dump($o->getTess('abc')); - -$a = (object)'a'; -$b = array(&$a); -//$b[0] = NULL; -// array still contains an element -array_pop($b); -// now array is empty -var_dump($a, $b); // NULL