3v4l.org

run code in 300+ PHP versions simultaneously
<?php $last_covered=date('Y-m-d',strtotime("+3 Months")); if (1) { echo "<input type='text' class='form-control' name='last_covered' value ='".$last_covered."'>"; } else {} ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 13
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/FpqZO
function name:  (null)
number of ops:  14
compiled vars:  !0 = $last_covered
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'Y-m-d'
          2        INIT_FCALL                                               'strtotime'
          3        SEND_VAL                                                 '%2B3+Months'
          4        DO_ICALL                                         $1      
          5        SEND_VAR                                                 $1
          6        DO_ICALL                                         $2      
          7        ASSIGN                                                   !0, $2
    3     8      > JMPZ                                                     1, ->13
    5     9    >   CONCAT                                           ~4      '%3Cinput+type%3D%27text%27+class%3D%27form-control%27+name%3D%27last_covered%27+value+%3D%27', !0
         10        CONCAT                                           ~5      ~4, '%27%3E'
         11        ECHO                                                     ~5
    3    12      > JMP                                                      ->13
    7    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.44 ms | 1005 KiB | 15 Q