3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "text1 text2 text3 text4 text5 text6 text7 text8 text9 text10"; print_r(str_word_count($str, 1)); /* function getTenWord($str){ } */
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SWF2D
function name:  (null)
number of ops:  9
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'text1+text2+text3+text4+text5+text6+text7+text8+text9+text10'
    5     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'str_word_count'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 1
          5        DO_ICALL                                         $2      
          6        SEND_VAR                                                 $2
          7        DO_ICALL                                                 
   11     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.53 ms | 1394 KiB | 17 Q