3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo strtotime('09:30:00'); echo '<br/>'; echo strtotime('14:00:00'); echo '<br/>'; echo round(abs(strtotime('19:00:00') - strtotime('09:30:00')) / 60, 2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PM6JF
function name:  (null)
number of ops:  27
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'strtotime'
          1        SEND_VAL                                                 '09%3A30%3A00'
          2        DO_ICALL                                         $0      
          3        ECHO                                                     $0
    4     4        ECHO                                                     '%3Cbr%2F%3E'
    5     5        INIT_FCALL                                               'strtotime'
          6        SEND_VAL                                                 '14%3A00%3A00'
          7        DO_ICALL                                         $1      
          8        ECHO                                                     $1
    6     9        ECHO                                                     '%3Cbr%2F%3E'
    7    10        INIT_FCALL                                               'round'
         11        INIT_FCALL                                               'abs'
         12        INIT_FCALL                                               'strtotime'
         13        SEND_VAL                                                 '19%3A00%3A00'
         14        DO_ICALL                                         $2      
         15        INIT_FCALL                                               'strtotime'
         16        SEND_VAL                                                 '09%3A30%3A00'
         17        DO_ICALL                                         $3      
         18        SUB                                              ~4      $2, $3
         19        SEND_VAL                                                 ~4
         20        DO_ICALL                                         $5      
         21        DIV                                              ~6      $5, 60
         22        SEND_VAL                                                 ~6
         23        SEND_VAL                                                 2
         24        DO_ICALL                                         $7      
         25        ECHO                                                     $7
         26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.5 ms | 1395 KiB | 19 Q