3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s1 = 'abc|def'; $s2 = 'abc|def|gh'; $s3 = 'abc|def|gh|ijk'; var_dump(explode($s1, '|', 3)); var_dump(explode($s2, '|', 3)); var_dump(explode($s3, '|', 3));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uT3v2
function name:  (null)
number of ops:  28
compiled vars:  !0 = $s1, !1 = $s2, !2 = $s3
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'abc%7Cdef'
    4     1        ASSIGN                                                   !1, 'abc%7Cdef%7Cgh'
    5     2        ASSIGN                                                   !2, 'abc%7Cdef%7Cgh%7Cijk'
    7     3        INIT_FCALL                                               'var_dump'
          4        INIT_FCALL                                               'explode'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 '%7C'
          7        SEND_VAL                                                 3
          8        DO_ICALL                                         $6      
          9        SEND_VAR                                                 $6
         10        DO_ICALL                                                 
    9    11        INIT_FCALL                                               'var_dump'
         12        INIT_FCALL                                               'explode'
         13        SEND_VAR                                                 !1
         14        SEND_VAL                                                 '%7C'
         15        SEND_VAL                                                 3
         16        DO_ICALL                                         $8      
         17        SEND_VAR                                                 $8
         18        DO_ICALL                                                 
   11    19        INIT_FCALL                                               'var_dump'
         20        INIT_FCALL                                               'explode'
         21        SEND_VAR                                                 !2
         22        SEND_VAL                                                 '%7C'
         23        SEND_VAL                                                 3
         24        DO_ICALL                                         $10     
         25        SEND_VAR                                                 $10
         26        DO_ICALL                                                 
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.02 ms | 1395 KiB | 17 Q