3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = time(); // your code goes here //array_push (配列, 追加要素1, 追加要素2,...); $ar = array("PHP", "CGI"); //array_push($ar, "Perl", "JAVA", date("Y/m/d H:i:s",$date)); //print_r($ar); foreach ($ar as $result){ echo $result; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 8
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/o4QBp
function name:  (null)
number of ops:  10
compiled vars:  !0 = $date, !1 = $ar, !2 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'time'
          1        DO_ICALL                                         $3      
          2        ASSIGN                                                   !0, $3
    7     3        ASSIGN                                                   !1, <array>
   11     4      > FE_RESET_R                                       $6      !1, ->8
          5    > > FE_FETCH_R                                               $6, !2, ->8
   12     6    >   ECHO                                                     !2
   11     7      > JMP                                                      ->5
          8    >   FE_FREE                                                  $6
   15     9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.6 ms | 1394 KiB | 15 Q