3v4l.org

run code in 300+ PHP versions simultaneously
<?php $URL = 'bloppety'; $paramArr = array('A' => 'b'); $rtlo = 1337; $query = sprintf(" INSERT INTO `spooler`.`tasks` SET `url` = '%s', `serialized_params` = '%s', `rtlo` = %d, `product` = 'sharedsignup', `created` = NOW(), `next_attempt` = NOW() ", ($URL), (serialize($paramArr)), $rtlo ); var_dump($query);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ymiob
function name:  (null)
number of ops:  17
compiled vars:  !0 = $URL, !1 = $paramArr, !2 = $rtlo, !3 = $query
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'bloppety'
    3     1        ASSIGN                                                   !1, <array>
    4     2        ASSIGN                                                   !2, 1337
    5     3        INIT_FCALL                                               'sprintf'
          4        SEND_VAL                                                 '%0A%09%09%09%09%09INSERT+INTO+%60spooler%60.%60tasks%60%0A%09%09%09%09%09SET%0A%09%09%09%09%09%09%60url%60+%3D+%27%25s%27%2C%0A%09%09%09%09%09%09%60serialized_params%60+%3D+%27%25s%27%2C%0A%09%09%09%09%09%09%60rtlo%60+%3D+%25d%2C%0A%09%09%09%09%09%09%60product%60+%3D+%27sharedsignup%27%2C%0A%09%09%09%09%09%09%60created%60+%3D+NOW%28%29%2C%0A%09%09%09%09%09%09%60next_attempt%60+%3D+NOW%28%29%0A%09%09%09%09'
   15     5        SEND_VAR                                                 !0
   16     6        INIT_FCALL                                               'serialize'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                         $7      
          9        SEND_VAR                                                 $7
   17    10        SEND_VAR                                                 !2
         11        DO_ICALL                                         $8      
    5    12        ASSIGN                                                   !3, $8
   19    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !3
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.43 ms | 1395 KiB | 19 Q