3v4l.org

run code in 500+ PHP versions simultaneously
<?php $string = "This is my Store, it has an amazing design; its creator says it was losing money and he doesn't want to maintain it"; $words = array_filter(preg_split('/\s+/', preg_replace('/\W|\b(it|the|its|is|to)|\b/i', ' ', $string))); print_r($words);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cLrM4
function name:  (null)
number of ops:  15
compiled vars:  !0 = $string, !1 = $words
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'This+is+my+Store%2C+it+has+an+amazing+design%3B+its+creator+says+it+was+losing+money+and+he+doesn%27t+want+to+maintain+it'
    4     1        INIT_FCALL                                                   'array_filter'
          2        INIT_FCALL                                                   'preg_split'
          3        SEND_VAL                                                     '%2F%5Cs%2B%2F'
          4        FRAMELESS_ICALL_3                preg_replace        ~3      '%2F%5CW%7C%5Cb%28it%7Cthe%7Cits%7Cis%7Cto%29%7C%5Cb%2Fi', '+'
          5        OP_DATA                                                      !0
          6        SEND_VAL                                                     ~3
          7        DO_ICALL                                             $4      
          8        SEND_VAR                                                     $4
          9        DO_ICALL                                             $5      
         10        ASSIGN                                                       !1, $5
    6    11        INIT_FCALL                                                   'print_r'
         12        SEND_VAR                                                     !1
         13        DO_ICALL                                                     
         14      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
175.42 ms | 2270 KiB | 16 Q