3v4l.org

run code in 300+ 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:  18
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        INIT_FCALL                                               'preg_replace'
          5        SEND_VAL                                                 '%2F%5CW%7C%5Cb%28it%7Cthe%7Cits%7Cis%7Cto%29%7C%5Cb%2Fi'
          6        SEND_VAL                                                 '+'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                         $4      
         11        SEND_VAR                                                 $4
         12        DO_ICALL                                         $5      
         13        ASSIGN                                                   !1, $5
    6    14        INIT_FCALL                                               'print_r'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.68 ms | 1000 KiB | 17 Q