3v4l.org

run code in 300+ PHP versions simultaneously
<?php $month = 'november'; $year = '2015'; echo new \MongoDate(strtotime("first day of " . $month . " " . $year));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Q6Aak
function name:  (null)
number of ops:  13
compiled vars:  !0 = $month, !1 = $year
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'november'
    3     1        ASSIGN                                                   !1, '2015'
    4     2        NEW                                              $4      'MongoDate'
          3        INIT_FCALL                                               'strtotime'
          4        CONCAT                                           ~5      'first+day+of+', !0
          5        CONCAT                                           ~6      ~5, '+'
          6        CONCAT                                           ~7      ~6, !1
          7        SEND_VAL                                                 ~7
          8        DO_ICALL                                         $8      
          9        SEND_VAR_NO_REF_EX                                       $8
         10        DO_FCALL                                      0          
         11        ECHO                                                     $4
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
194.17 ms | 1394 KiB | 15 Q