3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "php test - [2013.1 - some string variable]"; list($wanted,$junk) = explode(" - ",$thatString); echo $wanted."!!";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UF3Gr
function name:  (null)
number of ops:  13
compiled vars:  !0 = $str, !1 = $thatString, !2 = $wanted, !3 = $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                                                 !1
          4        DO_ICALL                                         $5      
          5        FETCH_LIST_R                                     $6      $5, 0
          6        ASSIGN                                                   !2, $6
          7        FETCH_LIST_R                                     $8      $5, 1
          8        ASSIGN                                                   !3, $8
          9        FREE                                                     $5
    6    10        CONCAT                                           ~10     !2, '%21%21'
         11        ECHO                                                     ~10
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.84 ms | 1394 KiB | 15 Q