3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $x = strtotime ("First of last month"); echo "\n".date('c', $x); echo "\n"; echo mktime (0,0,0,4,1,2015);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ePtER
function name:  (null)
number of ops:  22
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 'First+of+last+month'
          2        DO_ICALL                                         $1      
          3        ASSIGN                                           ~2      !0, $1
          4        ECHO                                                     ~2
    4     5        INIT_FCALL                                               'date'
          6        SEND_VAL                                                 'c'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $3      
          9        CONCAT                                           ~4      '%0A', $3
         10        ECHO                                                     ~4
    6    11        ECHO                                                     '%0A'
    8    12        INIT_FCALL                                               'mktime'
         13        SEND_VAL                                                 0
         14        SEND_VAL                                                 0
         15        SEND_VAL                                                 0
         16        SEND_VAL                                                 4
         17        SEND_VAL                                                 1
         18        SEND_VAL                                                 2015
         19        DO_ICALL                                         $5      
         20        ECHO                                                     $5
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.41 ms | 1395 KiB | 19 Q