3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rowPlaces = '(' . implode(', ', array_fill(0, 13, '?')) . ')'; $allPlaces = implode(', ', array_fill(0, 50, $rowPlaces)); $sql = "INSERT INTO JoyKat.DomainReferrerStats (StatDate, DomainId, ReferrerId, FormFactorId, Country, Referrer, ReferrerSourceId, Visits, Revenue, Clicks, PageViews, Location, RevenueSource) VALUES " . $allPlaces; var_dump($sql);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lIFVB
function name:  (null)
number of ops:  28
compiled vars:  !0 = $rowPlaces, !1 = $allPlaces, !2 = $sql
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'implode'
          1        SEND_VAL                                                 '%2C+'
          2        INIT_FCALL                                               'array_fill'
          3        SEND_VAL                                                 0
          4        SEND_VAL                                                 13
          5        SEND_VAL                                                 '%3F'
          6        DO_ICALL                                         $3      
          7        SEND_VAR                                                 $3
          8        DO_ICALL                                         $4      
          9        CONCAT                                           ~5      '%28', $4
         10        CONCAT                                           ~6      ~5, '%29'
         11        ASSIGN                                                   !0, ~6
    4    12        INIT_FCALL                                               'implode'
         13        SEND_VAL                                                 '%2C+'
         14        INIT_FCALL                                               'array_fill'
         15        SEND_VAL                                                 0
         16        SEND_VAL                                                 50
         17        SEND_VAR                                                 !0
         18        DO_ICALL                                         $8      
         19        SEND_VAR                                                 $8
         20        DO_ICALL                                         $9      
         21        ASSIGN                                                   !1, $9
    7    22        CONCAT                                           ~11     'INSERT+INTO+JoyKat.DomainReferrerStats+%28StatDate%2C+DomainId%2C+ReferrerId%2C+FormFactorId%2C+Country%2C+Referrer%2C+ReferrerSourceId%2C+Visits%2C+Revenue%2C+Clicks%2C+PageViews%2C+Location%2C+RevenueSource%29+VALUES+', !1
    6    23        ASSIGN                                                   !2, ~11
    9    24        INIT_FCALL                                               'var_dump'
         25        SEND_VAR                                                 !2
         26        DO_ICALL                                                 
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.95 ms | 1395 KiB | 19 Q