3v4l.org

run code in 500+ PHP versions simultaneously
<?php $arr = array(1,2,3,4,5,6,7,8,9); $string = implode('", "', $arr); $string = '"'.$string.'"'; echo $string;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Nq7oo
function name:  (null)
number of ops:  8
compiled vars:  !0 = $arr, !1 = $string
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    5     1        FRAMELESS_ICALL_2                implode             ~3      '%22%2C+%22', !0
          2        ASSIGN                                                       !1, ~3
    7     3        CONCAT                                               ~5      '%22', !1
          4        CONCAT                                               ~6      ~5, '%22'
          5        ASSIGN                                                       !1, ~6
    8     6        ECHO                                                         !1
          7      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.56 ms | 2206 KiB | 13 Q