3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.78 ms | 1394 KiB | 17 Q