3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dateFormat = new \IntlDateFormatter('ar_MO', \IntlDateFormatter::SHORT, \IntlDateFormatter::NONE); var_dump(date($dateFormat->getPattern())); var_dump(date('d/M/y')); var_dump($dateFormat->getPattern());
based on Mp58k
Output for 7.2.0 - 7.2.33, 7.3.0 - 7.3.21, 7.4.0 - 7.4.10, 8.0.0alpha1 - beta3
string(15) "23‏/Jun‏/20" string(9) "23/Jun/20" string(11) "d‏/M‏/y"