3v4l.org

run code in 300+ PHP versions simultaneously
<?php print floor('10/10/2010' - '08/10/2010'); print floor(('10/10/2010' - '08/10/2010') / (60 * 60 * 24));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NX22d
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'floor'
          1        SUB                                              ~0      '10%2F10%2F2010', '08%2F10%2F2010'
          2        SEND_VAL                                                 ~0
          3        DO_ICALL                                         $1      
          4        ECHO                                                     $1
    5     5        INIT_FCALL                                               'floor'
          6        SUB                                              ~2      '10%2F10%2F2010', '08%2F10%2F2010'
          7        DIV                                              ~3      ~2, 86400
          8        SEND_VAL                                                 ~3
          9        DO_ICALL                                         $4      
         10        ECHO                                                     $4
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.91 ms | 1394 KiB | 15 Q