3v4l.org

run code in 500+ PHP versions simultaneously
<?php $datetime = 'vendredi 11 février 2022 à 20:19:56 heure normale d’Europe centrale'; $parser = new IntlDateFormatter( 'fr_FR', IntlDateFormatter::FULL, IntlDateFormatter::FULL ); $tsparis = $parser->parse($datetime); var_dump($tsparis);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SuZt7
function name:  (null)
number of ops:  17
compiled vars:  !0 = $datetime, !1 = $parser, !2 = $tsparis
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'vendredi+11+f%C3%A9vrier+2022+%C3%A0+20%3A19%3A56+heure+normale+d%E2%80%99Europe+centrale'
    5     1        NEW                                                  $4      'IntlDateFormatter'
    6     2        SEND_VAL_EX                                                  'fr_FR'
    7     3        FETCH_CLASS_CONSTANT                                 ~5      'IntlDateFormatter', 'FULL'
          4        SEND_VAL_EX                                                  ~5
    8     5        FETCH_CLASS_CONSTANT                                 ~6      'IntlDateFormatter', 'FULL'
          6        SEND_VAL_EX                                                  ~6
    5     7        DO_FCALL                                          0          
          8        ASSIGN                                                       !1, $4
   10     9        INIT_METHOD_CALL                                             !1, 'parse'
         10        SEND_VAR_EX                                                  !0
         11        DO_FCALL                                          0  $9      
         12        ASSIGN                                                       !2, $9
   12    13        INIT_FCALL                                                   'var_dump'
         14        SEND_VAR                                                     !2
         15        DO_ICALL                                                     
         16      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
172.07 ms | 1880 KiB | 14 Q