3v4l.org

run code in 500+ PHP versions simultaneously
<?php $text = <<<TEXT {123456 123456 123456} {654321 654321 654321} {123456 123456 123456} TEXT; var_export( preg_split( '/ +|}\R?|{\d+/', $text, 0, PREG_SPLIT_NO_EMPTY ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/O5FIc
function name:  (null)
number of ops:  11
compiled vars:  !0 = $text
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '%7B123456++123456++123456%7D%0A%7B654321++654321++654321%7D%0A%7B123456++123456++123456%7D'
    9     1        INIT_FCALL                                                   'var_export'
   10     2        INIT_FCALL                                                   'preg_split'
   11     3        SEND_VAL                                                     '%2F+%2B%7C%7D%5CR%3F%7C%7B%5Cd%2B%2F'
   12     4        SEND_VAR                                                     !0
   13     5        SEND_VAL                                                     0
   14     6        SEND_VAL                                                     1
   10     7        DO_ICALL                                             $2      
   14     8        SEND_VAR                                                     $2
    9     9        DO_ICALL                                                     
   16    10      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
217.05 ms | 1874 KiB | 15 Q