3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text= "Hello - How are you?"; $strings = explode(' - ',$text); echo $strings[0],PHP_EOL; echo $strings[1],PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DiCCX
function name:  (null)
number of ops:  13
compiled vars:  !0 = $text, !1 = $strings
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Hello+-+How+are+you%3F'
    4     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '+-+'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    5     6        FETCH_DIM_R                                      ~5      !1, 0
          7        ECHO                                                     ~5
          8        ECHO                                                     '%0A'
    6     9        FETCH_DIM_R                                      ~6      !1, 1
         10        ECHO                                                     ~6
         11        ECHO                                                     '%0A'
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.4 ms | 1394 KiB | 15 Q