/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php class NationalForest { /** * @var int */ public $id = 0; /** * @var string */ public $state = ""; /** * @var int */ public $area = 0; /** * @var DateTime */ public $established = ""; /** * @var string */ public $closest_city = ""; /** * @var string */ public $name = ""; public function __construct() { $this->id = 0; $this->state = ""; $this->area = 0; $this->closest_city = ""; $this->name = ""; } } ?>
Comments
