3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(mktime(12, 00, 00)); var_dump(strtotime('12:00 pm')); var_dump(strtotime('01:23')); date('H:i:s', strtotime('12:00 pm') + strtotime('01:23'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/s110f
function name:  (null)
number of ops:  32
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'mktime'
          2        SEND_VAL                                                 12
          3        SEND_VAL                                                 0
          4        SEND_VAL                                                 0
          5        DO_ICALL                                         $0      
          6        SEND_VAR                                                 $0
          7        DO_ICALL                                                 
    8     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'strtotime'
         10        SEND_VAL                                                 '12%3A00+pm'
         11        DO_ICALL                                         $2      
         12        SEND_VAR                                                 $2
         13        DO_ICALL                                                 
   11    14        INIT_FCALL                                               'var_dump'
         15        INIT_FCALL                                               'strtotime'
         16        SEND_VAL                                                 '01%3A23'
         17        DO_ICALL                                         $4      
         18        SEND_VAR                                                 $4
         19        DO_ICALL                                                 
   14    20        INIT_FCALL                                               'date'
         21        SEND_VAL                                                 'H%3Ai%3As'
         22        INIT_FCALL                                               'strtotime'
         23        SEND_VAL                                                 '12%3A00+pm'
         24        DO_ICALL                                         $6      
         25        INIT_FCALL                                               'strtotime'
         26        SEND_VAL                                                 '01%3A23'
         27        DO_ICALL                                         $7      
         28        ADD                                              ~8      $6, $7
         29        SEND_VAL                                                 ~8
         30        DO_ICALL                                                 
         31      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.95 ms | 1395 KiB | 21 Q