3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timestamp = strtotime("May"); if ($timestamp === false) { echo "The string $str is bogus"; } else { echo date('F',strtotime($timestamp)); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 11
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/F86Uh
function name:  (null)
number of ops:  20
compiled vars:  !0 = $timestamp, !1 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 'May'
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    3     4        TYPE_CHECK                                    4          !0
          5      > JMPZ                                                     ~4, ->11
    4     6    >   ROPE_INIT                                     3  ~6      'The+string+'
          7        ROPE_ADD                                      1  ~6      ~6, !1
          8        ROPE_END                                      2  ~5      ~6, '+is+bogus'
          9        ECHO                                                     ~5
         10      > JMP                                                      ->19
    6    11    >   INIT_FCALL                                               'date'
         12        SEND_VAL                                                 'F'
         13        INIT_FCALL                                               'strtotime'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                         $8      
         16        SEND_VAR                                                 $8
         17        DO_ICALL                                         $9      
         18        ECHO                                                     $9
    7    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.41 ms | 1386 KiB | 17 Q