3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timeString=' <script language="javascript"> var today = new Date(); document.write(today); </script> '; echo "INSERT INTO `apply` VALUES ('test', '1', '$timeString') ";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5aIus
function name:  (null)
number of ops:  6
compiled vars:  !0 = $timeString
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%0A%3Cscript+language%3D%22javascript%22%3E%0Avar+today+%3D+new+Date%28%29%3B%0Adocument.write%28today%29%3B%0A%3C%2Fscript%3E+'
   10     1        ROPE_INIT                                     3  ~3      'INSERT+INTO+%60apply%60+VALUES+%28%27test%27%2C+%271%27%2C+%27'
          2        ROPE_ADD                                      1  ~3      ~3, !0
          3        ROPE_END                                      2  ~2      ~3, '%27%29+'
          4        ECHO                                                     ~2
          5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.8 ms | 1384 KiB | 13 Q