3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test () { $d = date("ymd", 1433592732); echo $d . ': ' . dechex($d) . "\n"; } echo test();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gfCob
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'test'
          1        DO_FCALL                                      0  $0      
          2        ECHO                                                     $0
          3      > RETURN                                                   1

Function test:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gfCob
function name:  test
number of ops:  13
compiled vars:  !0 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'date'
          1        SEND_VAL                                                 'ymd'
          2        SEND_VAL                                                 1433592732
          3        DO_ICALL                                         $1      
          4        ASSIGN                                                   !0, $1
    4     5        CONCAT                                           ~3      !0, '%3A+'
          6        INIT_FCALL                                               'dechex'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $4      
          9        CONCAT                                           ~5      ~3, $4
         10        CONCAT                                           ~6      ~5, '%0A'
         11        ECHO                                                     ~6
    7    12      > RETURN                                                   null

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.81 ms | 1397 KiB | 18 Q