3v4l.org

run code in 300+ PHP versions simultaneously
<?php // strftime var_dump(setlocale (LC_TIME, 'fr_FR.utf8','fra')); var_dump(strftime('%d %B %Y', strtotime('-1 week'))); extension_loaded("intl") or die; // intl $date = new IntlDateFormatter( "fr_FR", IntlDateFormatter::MEDIUM, IntlDateFormatter::NONE, null, null, null ); var_dump($date->format(strtotime('-1 week')));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 22, Position 2 = 24
Branch analysis from position: 22
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Fguqh
function name:  (null)
number of ops:  45
compiled vars:  !0 = $date
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'setlocale'
          2        SEND_VAL                                                 2
          3        SEND_VAL                                                 'fr_FR.utf8'
          4        SEND_VAL                                                 'fra'
          5        DO_ICALL                                         $1      
          6        SEND_VAR                                                 $1
          7        DO_ICALL                                                 
    5     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'strftime'
         10        SEND_VAL                                                 '%25d+%25B+%25Y'
         11        INIT_FCALL                                               'strtotime'
         12        SEND_VAL                                                 '-1+week'
         13        DO_ICALL                                         $3      
         14        SEND_VAR                                                 $3
         15        DO_ICALL                                         $4      
         16        SEND_VAR                                                 $4
         17        DO_ICALL                                                 
    7    18        INIT_FCALL                                               'extension_loaded'
         19        SEND_VAL                                                 'intl'
         20        DO_ICALL                                         $6      
         21      > JMPNZ_EX                                         ~7      $6, ->24
         22    > > EXIT                                                     
         23*       BOOL                                             ~7      <true>
   10    24    >   NEW                                              $8      'IntlDateFormatter'
   11    25        SEND_VAL_EX                                              'fr_FR'
   12    26        FETCH_CLASS_CONSTANT                             ~9      'IntlDateFormatter', 'MEDIUM'
         27        SEND_VAL_EX                                              ~9
   13    28        FETCH_CLASS_CONSTANT                             ~10     'IntlDateFormatter', 'NONE'
         29        SEND_VAL_EX                                              ~10
   14    30        SEND_VAL_EX                                              null
   15    31        SEND_VAL_EX                                              null
   16    32        SEND_VAL_EX                                              null
         33        DO_FCALL                                      0          
   10    34        ASSIGN                                                   !0, $8
   18    35        INIT_FCALL                                               'var_dump'
         36        INIT_METHOD_CALL                                         !0, 'format'
         37        INIT_FCALL                                               'strtotime'
         38        SEND_VAL                                                 '-1+week'
         39        DO_ICALL                                         $13     
         40        SEND_VAR_NO_REF_EX                                       $13
         41        DO_FCALL                                      0  $14     
         42        SEND_VAR                                                 $14
         43        DO_ICALL                                                 
         44      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.32 ms | 1405 KiB | 23 Q