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/I8hUT
function name:  (null)
number of ops:  25
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                                                 3
          7        DO_ICALL                                         $6      
          8        SEND_VAR                                                 $6
          9        DO_ICALL                                                 
    9    10        INIT_FCALL                                               'var_dump'
         11        INIT_FCALL                                               'explode'
         12        SEND_VAR                                                 !1
         13        SEND_VAL                                                 3
         14        DO_ICALL                                         $8      
         15        SEND_VAR                                                 $8
         16        DO_ICALL                                                 
   11    17        INIT_FCALL                                               'var_dump'
         18        INIT_FCALL                                               'explode'
         19        SEND_VAR                                                 !2
         20        SEND_VAL                                                 3
         21        DO_ICALL                                         $10     
         22        SEND_VAR                                                 $10
         23        DO_ICALL                                                 
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
194.26 ms | 1399 KiB | 17 Q