3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = new DateTime('2017-10-03 12:00:00'); $five_thirty = $test->setTime(17,30,0); var_dump( $test, $five_thirty, $test > $five_thirty );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ngMjK
function name:  (null)
number of ops:  17
compiled vars:  !0 = $test, !1 = $five_thirty
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'DateTime'
          1        SEND_VAL_EX                                              '2017-10-03+12%3A00%3A00'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $2
    4     4        INIT_METHOD_CALL                                         !0, 'setTime'
          5        SEND_VAL_EX                                              17
          6        SEND_VAL_EX                                              30
          7        SEND_VAL_EX                                              0
          8        DO_FCALL                                      0  $5      
          9        ASSIGN                                                   !1, $5
    6    10        INIT_FCALL                                               'var_dump'
    7    11        SEND_VAR                                                 !0
    8    12        SEND_VAR                                                 !1
    9    13        IS_SMALLER                                       ~7      !1, !0
         14        SEND_VAL                                                 ~7
         15        DO_ICALL                                                 
   10    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.26 ms | 1398 KiB | 15 Q