<?php class Fubar { private $obj; function __construct($timezone, $locale, $datetime){ $this->obj = \IntlCalendar::createInstance($timezone, $locale); $this->obj->setTime($datetime); var_dump($this->obj); } } $x = new Fubar("Europe/Rome", "it_IT", microtime(true));
You have javascript disabled. You will not be able to edit any code.