3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = strtotime('2014-01-01') - strtotime('2014-01-01'); var_dump($strtotime); var_dump($x);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OffcE
function name:  (null)
number of ops:  15
compiled vars:  !0 = $x, !1 = $strtotime
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '2014-01-01'
          2        DO_ICALL                                         $2      
          3        INIT_FCALL                                               'strtotime'
          4        SEND_VAL                                                 '2014-01-01'
          5        DO_ICALL                                         $3      
          6        SUB                                              ~4      $2, $3
          7        ASSIGN                                                   !0, ~4
    3     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
    4    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.67 ms | 1394 KiB | 17 Q