3v4l.org

run code in 300+ PHP versions simultaneously
<?php $brend = array('b'=>'18CRR81 CERRUTI','a' => 'ARMATA DI MARE'); $brends = "'"; $brends .= (is_array($brend)) ? implode("','", $brend) : $brend; $brends .= "'"; echo $brends;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 10
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/62aML
function name:  (null)
number of ops:  15
compiled vars:  !0 = $brend, !1 = $brends
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, '%27'
    4     2        TYPE_CHECK                                  128          !0
          3      > JMPZ                                                     ~4, ->10
          4    >   INIT_FCALL                                               'implode'
          5        SEND_VAL                                                 '%27%2C%27'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $5      
          8        QM_ASSIGN                                        ~6      $5
          9      > JMP                                                      ->11
         10    >   QM_ASSIGN                                        ~6      !0
         11    >   ASSIGN_OP                                     8          !1, ~6
    5    12        ASSIGN_OP                                     8          !1, '%27'
    6    13        ECHO                                                     !1
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.79 ms | 1386 KiB | 15 Q