3v4l.org

run code in 300+ PHP versions simultaneously
<input type="datetime-local" value="<?= substr(date('c', strtotime('2022-03-17 23:59:26')), 0, 16) ?>">
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aMpMN
function name:  (null)
number of ops:  16
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Cinput+type%3D%22datetime-local%22+value%3D%22'
          1        INIT_FCALL                                               'substr'
          2        INIT_FCALL                                               'date'
          3        SEND_VAL                                                 'c'
          4        INIT_FCALL                                               'strtotime'
          5        SEND_VAL                                                 '2022-03-17+23%3A59%3A26'
          6        DO_ICALL                                         $0      
          7        SEND_VAR                                                 $0
          8        DO_ICALL                                         $1      
          9        SEND_VAR                                                 $1
         10        SEND_VAL                                                 0
         11        SEND_VAL                                                 16
         12        DO_ICALL                                         $2      
         13        ECHO                                                     $2
         14        ECHO                                                     '%22%3E'
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.96 ms | 1398 KiB | 19 Q