3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "a to b"; $arr = explode("to",$str); print_r($arr); $str1 = "a b"; $arr1 = explode("to",$str1); print_r($arr1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/K5AVj
function name:  (null)
number of ops:  19
compiled vars:  !0 = $str, !1 = $arr, !2 = $str1, !3 = $arr1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'a+to+b'
    3     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 'to'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $5      
          5        ASSIGN                                                   !1, $5
    4     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !1
          8        DO_ICALL                                                 
    5     9        ASSIGN                                                   !2, 'a+b'
    6    10        INIT_FCALL                                               'explode'
         11        SEND_VAL                                                 'to'
         12        SEND_VAR                                                 !2
         13        DO_ICALL                                         $9      
         14        ASSIGN                                                   !3, $9
    7    15        INIT_FCALL                                               'print_r'
         16        SEND_VAR                                                 !3
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.52 ms | 1394 KiB | 17 Q