3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $👽 = true; class 🤓 { private $state = null; public function __construct($state) { $this->setState($state); echo 'Wat heb ik gedaan... ' . $this->getState(); } private function setState($state) { $this->state = $state; } private function getState() { return $this->state; } } if ($👽) { new 🤓('🤔'); }
based on 6t1Te
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0rc3
Wat heb ik gedaan... 🤔