3v4l.org

run code in 300+ PHP versions simultaneously
<?php $subject = "3v4l.org - online PHP shell, test in 80+ different PHP versions!"; $arr = preg_split('/ |,|\)|\(|\;|\.|\[a-z]/',$subject); $arr1 = preg_split('~[^\p{L}\p{N}\']+~u',$subject); print_r($arr); print_r($arr1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IdTUv
function name:  (null)
number of ops:  18
compiled vars:  !0 = $subject, !1 = $arr, !2 = $arr1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '3v4l.org+-+online+PHP+shell%2C+test+in+80%2B+different+PHP+versions%21'
    3     1        INIT_FCALL                                               'preg_split'
          2        SEND_VAL                                                 '%2F+%7C%2C%7C%5C%29%7C%5C%28%7C%5C%3B%7C%5C.%7C%5C%5Ba-z%5D%2F'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $4      
          5        ASSIGN                                                   !1, $4
    4     6        INIT_FCALL                                               'preg_split'
          7        SEND_VAL                                                 '%7E%5B%5E%5Cp%7BL%7D%5Cp%7BN%7D%27%5D%2B%7Eu'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $6      
         10        ASSIGN                                                   !2, $6
    5    11        INIT_FCALL                                               'print_r'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
    6    14        INIT_FCALL                                               'print_r'
         15        SEND_VAR                                                 !2
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.01 ms | 1395 KiB | 17 Q