3v4l.org

run code in 300+ PHP versions simultaneously
<?php $keywords = 'keyword1 keyword2 keyword3'; $keywords = explode(" ", $keywords); echo "'". implode("', '", $keywords) . "'";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/2ed4d
function name:  (null)
number of ops:  14
compiled vars:  !0 = $keywords
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'keyword1+keyword2+keyword3'
    3     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '+'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        ASSIGN                                                   !0, $2
    4     6        INIT_FCALL                                               'implode'
          7        SEND_VAL                                                 '%27%2C+%27'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $4      
         10        CONCAT                                           ~5      '%27', $4
         11        CONCAT                                           ~6      ~5, '%27'
         12        ECHO                                                     ~6
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.9 ms | 1398 KiB | 17 Q