3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timestamp = strtotime("May"); echo "The unix epoch time from strtotime was $timestamp"; if ($timestamp === false) { echo "strtotime returned false"; } elseif ($timestamp === -1) { echo "strtotime didn't recognize the date string"; } else { echo date('F',strtotime($timestamp)); } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hLurL
function name:  (null)
number of ops:  24
compiled vars:  !0 = $timestamp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 'May'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                                   !0, $1
    3     4        NOP                                                      
          5        FAST_CONCAT                                      ~3      'The+unix+epoch+time+from+strtotime+was+', !0
          6        ECHO                                                     ~3
    4     7        TYPE_CHECK                                    4          !0
          8      > JMPZ                                                     ~4, ->11
    5     9    >   ECHO                                                     'strtotime+returned+false'
         10      > JMP                                                      ->23
    6    11    >   IS_IDENTICAL                                             !0, -1
         12      > JMPZ                                                     ~5, ->15
    7    13    >   ECHO                                                     'strtotime+didn%27t+recognize+the+date+string'
         14      > JMP                                                      ->23
    9    15    >   INIT_FCALL                                               'date'
         16        SEND_VAL                                                 'F'
         17        INIT_FCALL                                               'strtotime'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                         $6      
         20        SEND_VAR                                                 $6
         21        DO_ICALL                                         $7      
         22        ECHO                                                     $7
   10    23    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.53 ms | 1395 KiB | 17 Q