3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function import_from_db($dbRow) { $this->id = $dbRow->id; $this->categoryId = $dbRow->category_id; $this->name = $dbRow->name; $this->grade = $dbRow->grade; $this->enable = $dbRow->enable; $this->date = $dbRow->date; }
Output for 4.3.0 - 7.1.0