3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "php test - [2013.1 - some string variable]"; list($wanted,$junk) = explode(" - ",$str); echo $wanted."!!";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4X4CN
function name:  (null)
number of ops:  13
compiled vars:  !0 = $str, !1 = $wanted, !2 = $junk
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'php+test+-+%5B2013.1+-+some+string+variable%5D'
    4     1        INIT_FCALL                                               'explode'
          2        SEND_VAL                                                 '+-+'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        FETCH_LIST_R                                     $5      $4, 0
          6        ASSIGN                                                   !1, $5
          7        FETCH_LIST_R                                     $7      $4, 1
          8        ASSIGN                                                   !2, $7
          9        FREE                                                     $4
    6    10        CONCAT                                           ~9      !1, '%21%21'
         11        ECHO                                                     ~9
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.7 ms | 1385 KiB | 15 Q