3v4l.org

run code in 300+ PHP versions simultaneously
<?php $b = '/Intel/Intel-C-plus--plus--Compiler-Professional-Edition-for-QNX-Neutrino-RTOS/'; echo split($b, '/'); $a = str_replace('-', ' ', trim($value[0], '/'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/88jPZ
function name:  (null)
number of ops:  18
compiled vars:  !0 = $b, !1 = $a, !2 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2FIntel%2FIntel-C-plus--plus--Compiler-Professional-Edition-for-QNX-Neutrino-RTOS%2F'
    3     1        INIT_FCALL_BY_NAME                                       'split'
          2        SEND_VAR_EX                                              !0
          3        SEND_VAL_EX                                              '%2F'
          4        DO_FCALL                                      0  $4      
          5        ECHO                                                     $4
    4     6        INIT_FCALL                                               'str_replace'
          7        SEND_VAL                                                 '-'
          8        SEND_VAL                                                 '+'
          9        INIT_FCALL                                               'trim'
         10        FETCH_DIM_R                                      ~5      !2, 0
         11        SEND_VAL                                                 ~5
         12        SEND_VAL                                                 '%2F'
         13        DO_ICALL                                         $6      
         14        SEND_VAR                                                 $6
         15        DO_ICALL                                         $7      
         16        ASSIGN                                                   !1, $7
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
187.41 ms | 1399 KiB | 17 Q