3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.96 ms | 1395 KiB | 17 Q