3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0; $i < 40000; $i++) { list($a, $b) = preg_split('/(?=\/[^\/]+$)/', '/текст/текст текст/нетекст/текст' . $i); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 2
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 2
Branch analysis from position: 15
Branch analysis from position: 2
filename:       /in/sLvKl
function name:  (null)
number of ops:  16
compiled vars:  !0 = $i, !1 = $a, !2 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->13
    4     2    >   INIT_FCALL                                               'preg_split'
          3        SEND_VAL                                                 '%2F%28%3F%3D%5C%2F%5B%5E%5C%2F%5D%2B%24%29%2F'
          4        CONCAT                                           ~4      '%2F%D1%82%D0%B5%D0%BA%D1%81%D1%82%2F%D1%82%D0%B5%D0%BA%D1%81%D1%82+%D1%82%D0%B5%D0%BA%D1%81%D1%82%2F%D0%BD%D0%B5%D1%82%D0%B5%D0%BA%D1%81%D1%82%2F%D1%82%D0%B5%D0%BA%D1%81%D1%82', !0
          5        SEND_VAL                                                 ~4
          6        DO_ICALL                                         $5      
          7        FETCH_LIST_R                                     $6      $5, 0
          8        ASSIGN                                                   !1, $6
          9        FETCH_LIST_R                                     $8      $5, 1
         10        ASSIGN                                                   !2, $8
         11        FREE                                                     $5
    3    12        PRE_INC                                                  !0
         13    >   IS_SMALLER                                               !0, 40000
         14      > JMPNZ                                                    ~11, ->2
    5    15    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.56 ms | 1395 KiB | 15 Q