3v4l.org

run code in 300+ PHP versions simultaneously
<?php 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/Mo1O4
function name:  (null)
number of ops:  11
compiled vars:  !0 = $month, !1 = $year
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'MongoDate'
          1        INIT_FCALL                                               'strtotime'
          2        CONCAT                                           ~3      'first+day+of+', !0
          3        CONCAT                                           ~4      ~3, '+'
          4        CONCAT                                           ~5      ~4, !1
          5        SEND_VAL                                                 ~5
          6        DO_ICALL                                         $6      
          7        SEND_VAR_NO_REF_EX                                       $6
          8        DO_FCALL                                      0          
          9        ECHO                                                     $2
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.51 ms | 1398 KiB | 15 Q