3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (($timestamp = strtotime("May")) === false) { echo "The string ($str) is bogus"; } echo date('F',strtotime($timestamp));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 10
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
filename:       /in/fHaJ8
function name:  (null)
number of ops:  19
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                                           ~3      !0, $2
          4        TYPE_CHECK                                    4          ~3
          5      > JMPZ                                                     ~4, ->10
    3     6    >   ROPE_INIT                                     3  ~6      'The+string+%28'
          7        ROPE_ADD                                      1  ~6      ~6, !1
          8        ROPE_END                                      2  ~5      ~6, '%29+is+bogus'
          9        ECHO                                                     ~5
    5    10    >   INIT_FCALL                                               'date'
         11        SEND_VAL                                                 'F'
         12        INIT_FCALL                                               'strtotime'
         13        SEND_VAR                                                 !0
         14        DO_ICALL                                         $8      
         15        SEND_VAR                                                 $8
         16        DO_ICALL                                         $9      
         17        ECHO                                                     $9
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.33 ms | 1395 KiB | 17 Q