3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = 'Jason'; list($fname,$lname) = preg_split('/\s+(.=[^\s]+$)/', $name, 2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ribCI
function name:  (null)
number of ops:  12
compiled vars:  !0 = $name, !1 = $fname, !2 = $lname
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Jason'
    4     1        INIT_FCALL                                               'preg_split'
          2        SEND_VAL                                                 '%2F%5Cs%2B%28.%3D%5B%5E%5Cs%5D%2B%24%29%2F'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 2
          5        DO_ICALL                                         $4      
          6        FETCH_LIST_R                                     $5      $4, 0
          7        ASSIGN                                                   !1, $5
          8        FETCH_LIST_R                                     $7      $4, 1
          9        ASSIGN                                                   !2, $7
         10        FREE                                                     $4
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.57 ms | 1385 KiB | 15 Q