3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fservice[0]['name'] = 'Air Con Re - Gas'; echo str_word_count($fservice[0]['name']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pqEMX
function name:  (null)
number of ops:  10
compiled vars:  !0 = $fservice
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_DIM_W                                      $1      !0, 0
          1        ASSIGN_DIM                                               $1, 'name'
          2        OP_DATA                                                  'Air+Con+Re+-+Gas'
    5     3        INIT_FCALL                                               'str_word_count'
          4        FETCH_DIM_R                                      ~3      !0, 0
          5        FETCH_DIM_R                                      ~4      ~3, 'name'
          6        SEND_VAL                                                 ~4
          7        DO_ICALL                                         $5      
          8        ECHO                                                     $5
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.52 ms | 1393 KiB | 15 Q