3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fileContent = <<<'PHP' input ----- expected output PHP; echo $fileContent; echo PHP_EOL . PHP_EOL . PHP_EOL . PHP_EOL; [$input, $expectedOutput] = explode("\n-----\n", $fileContent); echo $input; echo PHP_EOL . PHP_EOL; echo $expectedOutput; echo PHP_EOL . PHP_EOL;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sEudR
function name:  (null)
number of ops:  17
compiled vars:  !0 = $fileContent, !1 = $input, !2 = $expectedOutput
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 'input%0A-----%0Aexpected+output'
   12     1        ECHO                                                     !0
   14     2        ECHO                                                     '%0A%0A%0A%0A'
   17     3        INIT_FCALL                                               'explode'
          4        SEND_VAL                                                 '%0A-----%0A'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $4      
          7        FETCH_LIST_R                                     $5      $4, 0
          8        ASSIGN                                                   !1, $5
          9        FETCH_LIST_R                                     $7      $4, 1
         10        ASSIGN                                                   !2, $7
         11        FREE                                                     $4
   19    12        ECHO                                                     !1
   20    13        ECHO                                                     '%0A%0A'
   22    14        ECHO                                                     !2
   23    15        ECHO                                                     '%0A%0A'
   24    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.49 ms | 1394 KiB | 15 Q