3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date_diff( '2014-09-03 15:00:00', '2014-09-04 15:00:00' )->format('%d'); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PRS8F
function name:  (null)
number of ops:  9
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date_diff'
          1        SEND_VAL                                                 '2014-09-03+15%3A00%3A00'
          2        SEND_VAL                                                 '2014-09-04+15%3A00%3A00'
          3        DO_ICALL                                         $0      
          4        INIT_METHOD_CALL                                         $0, 'format'
          5        SEND_VAL_EX                                              '%25d'
          6        DO_FCALL                                      0  $1      
          7        ECHO                                                     $1
    3     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.8 ms | 1394 KiB | 15 Q