3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(setlocale(LC_TIME, 'hungarian', 'hu_HU', 'hu_HU.ISO8859-2', 'hu_HU.UTF-8')); echo $formatedDate = sgmtrftime('%G. %B %e.', time());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rJKGs
function name:  (null)
number of ops:  19
compiled vars:  !0 = $formatedDate
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'setlocale'
          2        SEND_VAL                                                 2
          3        SEND_VAL                                                 'hungarian'
          4        SEND_VAL                                                 'hu_HU'
          5        SEND_VAL                                                 'hu_HU.ISO8859-2'
          6        SEND_VAL                                                 'hu_HU.UTF-8'
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
          9        DO_ICALL                                                 
    4    10        INIT_FCALL_BY_NAME                                       'sgmtrftime'
         11        SEND_VAL_EX                                              '%25G.+%25B+%25e.'
         12        INIT_FCALL                                               'time'
         13        DO_ICALL                                         $3      
         14        SEND_VAR_NO_REF_EX                                       $3
         15        DO_FCALL                                      0  $4      
         16        ASSIGN                                           ~5      !0, $4
         17        ECHO                                                     ~5
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.25 ms | 1394 KiB | 19 Q