3v4l.org

run code in 300+ PHP versions simultaneously
<?php $buah_buahan[] = 'melon mangga pepaya jeruk'; $buah_buahan[] = 'apel pisang rambutan durian'; $buah_buahan[] = 'pisang rambutan durian pir'; $buah_buahan[] = 'pisang rambutan durian kelapa'; foreach($buah_buahan as $buah) { $senarai_buah = explode(' ', $buah); echo end($senarai_buah).'<br/>'; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 21
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 21
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
filename:       /in/EM2sX
function name:  (null)
number of ops:  23
compiled vars:  !0 = $buah_buahan, !1 = $buah, !2 = $senarai_buah
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0
          1        OP_DATA                                                  'melon+mangga+pepaya+jeruk'
    3     2        ASSIGN_DIM                                               !0
          3        OP_DATA                                                  'apel+pisang+rambutan+durian'
    4     4        ASSIGN_DIM                                               !0
          5        OP_DATA                                                  'pisang+rambutan+durian+pir'
    5     6        ASSIGN_DIM                                               !0
          7        OP_DATA                                                  'pisang+rambutan+durian+kelapa'
    7     8      > FE_RESET_R                                       $7      !0, ->21
          9    > > FE_FETCH_R                                               $7, !1, ->21
    8    10    >   INIT_FCALL                                               'explode'
         11        SEND_VAL                                                 '+'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                         $8      
         14        ASSIGN                                                   !2, $8
    9    15        INIT_FCALL                                               'end'
         16        SEND_REF                                                 !2
         17        DO_ICALL                                         $10     
         18        CONCAT                                           ~11     $10, '%3Cbr%2F%3E'
         19        ECHO                                                     ~11
    7    20      > JMP                                                      ->9
         21    >   FE_FREE                                                  $7
   12    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.4 ms | 1395 KiB | 17 Q