3v4l.org

run code in 300+ PHP versions simultaneously
<?php $formatter = new IntlDateFormatter("en-GB", IntlDateFormatter::NONE, IntlDateFormatter::NONE, 'UTC', null, 'yyyy-MM-dd'); $position = 0; $parsedDate = $formatter->parse("2017-08-12", $position); var_dump($parsedDate, $position);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/i1mPA
function name:  (null)
number of ops:  22
compiled vars:  !0 = $formatter, !1 = $position, !2 = $parsedDate
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $3      'IntlDateFormatter'
          1        SEND_VAL_EX                                              'en-GB'
          2        FETCH_CLASS_CONSTANT                             ~4      'IntlDateFormatter', 'NONE'
          3        SEND_VAL_EX                                              ~4
          4        FETCH_CLASS_CONSTANT                             ~5      'IntlDateFormatter', 'NONE'
          5        SEND_VAL_EX                                              ~5
          6        SEND_VAL_EX                                              'UTC'
          7        SEND_VAL_EX                                              null
          8        SEND_VAL_EX                                              'yyyy-MM-dd'
          9        DO_FCALL                                      0          
         10        ASSIGN                                                   !0, $3
    4    11        ASSIGN                                                   !1, 0
    5    12        INIT_METHOD_CALL                                         !0, 'parse'
         13        SEND_VAL_EX                                              '2017-08-12'
         14        SEND_VAR_EX                                              !1
         15        DO_FCALL                                      0  $9      
         16        ASSIGN                                                   !2, $9
    6    17        INIT_FCALL                                               'var_dump'
         18        SEND_VAR                                                 !2
         19        SEND_VAR                                                 !1
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.6 ms | 1399 KiB | 15 Q