3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dateFormat = new \IntlDateFormatter('ar_MO', \IntlDateFormatter::SHORT, \IntlDateFormatter::NONE); var_dump($dateFormat->getPattern()); var_dump($dateFormat->format(time())); var_dump($dateFormat->setPattern('d/M/y')); var_dump($dateFormat->format(time()));
based on 7uHem
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/c4vFQ
function name:  (null)
number of ops:  34
compiled vars:  !0 = $dateFormat
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   NEW                                              $1      :63
         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_METHOD_CALL                                         !0, 'getPattern'
         8        DO_FCALL                                      0  $4      
         9        SEND_VAR                                                 $4
        10        DO_ICALL                                                 
   5    11        INIT_FCALL                                               'var_dump'
        12        INIT_METHOD_CALL                                         !0, 'format'
        13        INIT_FCALL                                               'time'
        14        DO_ICALL                                         $6      
        15        SEND_VAR_NO_REF_EX                                       $6
        16        DO_FCALL                                      0  $7      
        17        SEND_VAR                                                 $7
        18        DO_ICALL                                                 
   6    19        INIT_FCALL                                               'var_dump'
        20        INIT_METHOD_CALL                                         !0, 'setPattern'
        21        SEND_VAL_EX                                              'd%2FM%2Fy'
        22        DO_FCALL                                      0  $9      
        23        SEND_VAR                                                 $9
        24        DO_ICALL                                                 
   7    25        INIT_FCALL                                               'var_dump'
        26        INIT_METHOD_CALL                                         !0, 'format'
        27        INIT_FCALL                                               'time'
        28        DO_ICALL                                         $11     
        29        SEND_VAR_NO_REF_EX                                       $11
        30        DO_FCALL                                      0  $12     
        31        SEND_VAR                                                 $12
        32        DO_ICALL                                                 
        33      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.4.0