3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.83 ms | 1395 KiB | 17 Q