3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = str_pad('', 1024, chr(0)); $b = str_repeat($a,1024);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CYZqA
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'str_pad'
          1        SEND_VAL                                                 ''
          2        SEND_VAL                                                 1024
          3        SEND_VAL                                                 '%00'
          4        DO_ICALL                                         $2      
          5        ASSIGN                                                   !0, $2
    3     6        INIT_FCALL                                               'str_repeat'
          7        SEND_VAR                                                 !0
          8        SEND_VAL                                                 1024
          9        DO_ICALL                                         $4      
         10        ASSIGN                                                   !1, $4
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.28 ms | 1394 KiB | 17 Q