3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new DateTime('29.06.2016 23:59:59'); $formatter = IntlDateFormatter::create('ru_RU', IntlDateFormatter::FULL, IntlDateFormatter::FULL, null); $formatter->setPattern('EEEE'); echo $formatter->format($date);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tFVCK
function name:  (null)
number of ops:  21
compiled vars:  !0 = $date, !1 = $formatter
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $2      'DateTime'
          1        SEND_VAL_EX                                              '29.06.2016+23%3A59%3A59'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $2
    3     4        INIT_STATIC_METHOD_CALL                                  'IntlDateFormatter', 'create'
          5        SEND_VAL_EX                                              'ru_RU'
          6        FETCH_CLASS_CONSTANT                             ~5      'IntlDateFormatter', 'FULL'
          7        SEND_VAL_EX                                              ~5
          8        FETCH_CLASS_CONSTANT                             ~6      'IntlDateFormatter', 'FULL'
          9        SEND_VAL_EX                                              ~6
         10        SEND_VAL_EX                                              null
         11        DO_FCALL                                      0  $7      
         12        ASSIGN                                                   !1, $7
    4    13        INIT_METHOD_CALL                                         !1, 'setPattern'
         14        SEND_VAL_EX                                              'EEEE'
         15        DO_FCALL                                      0          
    5    16        INIT_METHOD_CALL                                         !1, 'format'
         17        SEND_VAR_EX                                              !0
         18        DO_FCALL                                      0  $10     
         19        ECHO                                                     $10
         20      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
197.09 ms | 1393 KiB | 13 Q