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);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TiNW7
function name:  (null)
number of ops:  18
compiled vars:  !0 = $date, !1 = $ar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'time'
          1        DO_ICALL                                         $2      
          2        ASSIGN                                                   !0, $2
    7     3        ASSIGN                                                   !1, <array>
    8     4        INIT_FCALL                                               'array_push'
          5        SEND_REF                                                 !1
          6        SEND_VAL                                                 'Perl'
          7        SEND_VAL                                                 'JAVA'
          8        INIT_FCALL                                               'date'
          9        SEND_VAL                                                 'Y%2Fm%2Fd+H%3Ai%3As'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $5      
         12        SEND_VAR                                                 $5
         13        DO_ICALL                                                 
    9    14        INIT_FCALL                                               'print_r'
         15        SEND_VAR                                                 !1
         16        DO_ICALL                                                 
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.66 ms | 1394 KiB | 21 Q