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());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DUlfj
function name:  (null)
number of ops:  26
compiled vars:  !0 = $dateFormat
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NEW                                              $1      :47
         1        SEND_VAL_EX                                              'ar_MO'
         2        SEND_VAL_EX                                              3
         3        SEND_VAL_EX                                              -1
         4        DO_FCALL                                      0          
         5        ASSIGN                                                   !0, $1
   4     6        INIT_FCALL                                               'var_dump'
         7        INIT_FCALL                                               'date'
         8        INIT_METHOD_CALL                                         !0, 'getPattern'
         9        DO_FCALL                                      0  $4      
        10        SEND_VAR                                                 $4
        11        DO_ICALL                                         $5      
        12        SEND_VAR                                                 $5
        13        DO_ICALL                                                 
   5    14        INIT_FCALL                                               'var_dump'
        15        INIT_FCALL                                               'date'
        16        SEND_VAL                                                 'd%2FM%2Fy'
        17        DO_ICALL                                         $7      
        18        SEND_VAR                                                 $7
        19        DO_ICALL                                                 
   6    20        INIT_FCALL                                               'var_dump'
        21        INIT_METHOD_CALL                                         !0, 'getPattern'
        22        DO_FCALL                                      0  $9      
        23        SEND_VAR                                                 $9
        24        DO_ICALL                                                 
        25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
23.71 ms | 417 KiB | 15 Q