3v4l.org

run code in 500+ PHP versions simultaneously
<?php $result = []; $implode = ',&nbsp;'; $var1 = 'xyz'; $var2 = 'abc'; $result[] = $var1; $result[] = $var2; $filtered_result = array_filter($result); echo implode($implode,$filtered_result); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PZ8Rv
function name:  (null)
number of ops:  15
compiled vars:  !0 = $result, !1 = $implode, !2 = $var1, !3 = $var2, !4 = $filtered_result
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, <array>
    3     1        ASSIGN                                                       !1, '%2C%26nbsp%3B'
    4     2        ASSIGN                                                       !2, 'xyz'
    5     3        ASSIGN                                                       !3, 'abc'
    6     4        ASSIGN_DIM                                                   !0
          5        OP_DATA                                                      !2
    7     6        ASSIGN_DIM                                                   !0
          7        OP_DATA                                                      !3
    8     8        INIT_FCALL                                                   'array_filter'
          9        SEND_VAR                                                     !0
         10        DO_ICALL                                             $11     
         11        ASSIGN                                                       !4, $11
    9    12        FRAMELESS_ICALL_2                implode             ~13     !1, !4
         13        ECHO                                                         ~13
   10    14      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
149.35 ms | 2001 KiB | 14 Q