3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = trim("asdafsfdfsfd4234-24/dasda-6565/gfdgdfg-9gfdg-gfdgfdgdf/", "/"); echo $str; var_dump(preg_split("/[\s\/]+/", $str)); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CedeR
function name:  (null)
number of ops:  14
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'trim'
          1        SEND_VAL                                                 'asdafsfdfsfd4234-24%2Fdasda-6565%2Fgfdgdfg-9gfdg-gfdgfdgdf%2F'
          2        SEND_VAL                                                 '%2F'
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    3     5        ECHO                                                     !0
    4     6        INIT_FCALL                                               'var_dump'
          7        INIT_FCALL                                               'preg_split'
          8        SEND_VAL                                                 '%2F%5B%5Cs%5C%2F%5D%2B%2F'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $3      
         11        SEND_VAR                                                 $3
         12        DO_ICALL                                                 
    5    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.32 ms | 1394 KiB | 19 Q