3v4l.org

run code in 300+ PHP versions simultaneously
<?php class test { protected $tag = 'test'; protected $tags_test; public function save($tags) { $_tag = "tags_{$this->tag}"; $this->{"tags_{$this->tag}"} = $tags; var_dump($this->$_tag); } } $test = new test(); $test->save(2322323); $t = true; $t &= false; $t &= true; $t &= false; var_dump($t); echo mime_content_type('test.php'); //var_dump(pathinfo('FilLe.DoC'));

preferences:
60.98 ms | 402 KiB | 5 Q