3v4l.org

run code in 500+ PHP versions simultaneously
<?php print_r(array_map("trim",preg_split('#(?=\W\d+\.\s+)#',"1. new zealand 0.909991233 22. france and it territories 0.114444444 333. united states 0.99991119991 and so on")));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Djs4c
function name:  (null)
number of ops:  12
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                                   'print_r'
          1        INIT_FCALL                                                   'array_map'
          2        SEND_VAL                                                     'trim'
          3        INIT_FCALL                                                   'preg_split'
          4        SEND_VAL                                                     '%23%28%3F%3D%5CW%5Cd%2B%5C.%5Cs%2B%29%23'
          5        SEND_VAL                                                     '1.+new+zealand+0.909991233+22.+france+and+it+territories+0.114444444+333.+united+states+0.99991119991+and+so+on'
          6        DO_ICALL                                             $0      
          7        SEND_VAR                                                     $0
          8        DO_ICALL                                             $1      
          9        SEND_VAR                                                     $1
         10        DO_ICALL                                                     
         11      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
168.75 ms | 3048 KiB | 15 Q