3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date1 = new DateTime('13-04-1956'); $date2 = new DateTime('01-01-1900'); $date3 = new DateTime('31-12-2050'); $fmt = new \IntlDateFormatter( 'fr', \IntlDateFormatter::FULL, \IntlDateFormatter::NONE ); echo $fmt->format($date1), "\n", $fmt->format($date2), "\n", $fmt->format($date3);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FVXen
function name:  (null)
number of ops:  35
compiled vars:  !0 = $date1, !1 = $date2, !2 = $date3, !3 = $fmt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $4      'DateTime'
          1        SEND_VAL_EX                                              '13-04-1956'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $4
    4     4        NEW                                              $7      'DateTime'
          5        SEND_VAL_EX                                              '01-01-1900'
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !1, $7
    5     8        NEW                                              $10     'DateTime'
          9        SEND_VAL_EX                                              '31-12-2050'
         10        DO_FCALL                                      0          
         11        ASSIGN                                                   !2, $10
    6    12        NEW                                              $13     'IntlDateFormatter'
    7    13        SEND_VAL_EX                                              'fr'
    8    14        FETCH_CLASS_CONSTANT                             ~14     'IntlDateFormatter', 'FULL'
         15        SEND_VAL_EX                                              ~14
    9    16        FETCH_CLASS_CONSTANT                             ~15     'IntlDateFormatter', 'NONE'
         17        SEND_VAL_EX                                              ~15
         18        DO_FCALL                                      0          
    6    19        ASSIGN                                                   !3, $13
   12    20        INIT_METHOD_CALL                                         !3, 'format'
         21        SEND_VAR_EX                                              !0
         22        DO_FCALL                                      0  $18     
         23        ECHO                                                     $18
         24        ECHO                                                     '%0A'
         25        INIT_METHOD_CALL                                         !3, 'format'
         26        SEND_VAR_EX                                              !1
         27        DO_FCALL                                      0  $19     
         28        ECHO                                                     $19
         29        ECHO                                                     '%0A'
         30        INIT_METHOD_CALL                                         !3, 'format'
         31        SEND_VAR_EX                                              !2
         32        DO_FCALL                                      0  $20     
         33        ECHO                                                     $20
         34      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
131.93 ms | 1399 KiB | 13 Q