3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Are You Looking For The Best Website Review"; print_r(array_splice(array_reverse(str_word_count($str,1)),0,4));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/rYnc3
function name:  (null)
number of ops:  17
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Are+You+Looking+For+The+Best+Website+Review'
    4     1        INIT_FCALL                                               'print_r'
          2        INIT_FCALL                                               'array_splice'
          3        INIT_FCALL                                               'array_reverse'
          4        INIT_FCALL                                               'str_word_count'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 1
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
          9        DO_ICALL                                         $3      
         10        SEND_VAR_NO_REF                               0          $3
         11        SEND_VAL                                                 0
         12        SEND_VAL                                                 4
         13        DO_ICALL                                         $4      
         14        SEND_VAR                                                 $4
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.22 ms | 1394 KiB | 21 Q