<?php $cal = IntlCalendar::createInstance(); var_dump($cal->isWeekend(0)); $cal2 = unserialize(serialize($cal)); try { var_dump($cal2->isWeekend(0)); } catch (Error $e) { var_dump($e->getMessage()); } $formatter = new IntlDateFormatter(null, IntlDateFormatter::SHORT, IntlDateFormatter::SHORT); var_dump($formatter->format(0)); $formatter2 = unserialize(serialize($formatter)); try { var_dump($formatter2->format(0)); } catch (Error $e) { var_dump($e->getMessage()); }
You have javascript disabled. You will not be able to edit any code.