3v4l.org

run code in 300+ PHP versions simultaneously
<?php touch("/tmp/test", strtotime("2005-10-15")); $fileInfo = new SplFileInfo("/tmp/test"); print($fileInfo->getATime()."\n");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GqOrg
function name:  (null)
number of ops:  16
compiled vars:  !0 = $fileInfo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'touch'
          1        SEND_VAL                                                 '%2Ftmp%2Ftest'
          2        INIT_FCALL                                               'strtotime'
          3        SEND_VAL                                                 '2005-10-15'
          4        DO_ICALL                                         $1      
          5        SEND_VAR                                                 $1
          6        DO_ICALL                                                 
    4     7        NEW                                              $3      'SplFileInfo'
          8        SEND_VAL_EX                                              '%2Ftmp%2Ftest'
          9        DO_FCALL                                      0          
         10        ASSIGN                                                   !0, $3
    5    11        INIT_METHOD_CALL                                         !0, 'getATime'
         12        DO_FCALL                                      0  $6      
         13        CONCAT                                           ~7      $6, '%0A'
         14        ECHO                                                     ~7
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.46 ms | 1394 KiB | 17 Q