3v4l.org

run code in 300+ PHP versions simultaneously
<?php function conf_path() { static $path; if($path != null) { return $path; } $path = '../sites/swissquote.eu.fx'; return $path; } $i=0; while($i < 60000) { $i++; conf_path(); } echo 'ok';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 2
Branch analysis from position: 7
Branch analysis from position: 2
filename:       /in/7ZAt9
function name:  (null)
number of ops:  9
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   ASSIGN                                                   !0, 0
   16     1      > JMP                                                      ->5
   17     2    >   PRE_INC                                                  !0
   18     3        INIT_FCALL                                               'conf_path'
          4        DO_FCALL                                      0          
   16     5    >   IS_SMALLER                                               !0, 60000
          6      > JMPNZ                                                    ~4, ->2
   21     7    >   ECHO                                                     'ok'
          8      > RETURN                                                   1

Function conf_path:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 4
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/7ZAt9
function name:  conf_path
number of ops:  7
compiled vars:  !0 = $path
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   BIND_STATIC                                              !0
    6     1        IS_NOT_EQUAL                                             !0, null
          2      > JMPZ                                                     ~1, ->4
    7     3    > > RETURN                                                   !0
   10     4    >   ASSIGN                                                   !0, '..%2Fsites%2Fswissquote.eu.fx'
   12     5      > RETURN                                                   !0
   13     6*     > RETURN                                                   null

End of function conf_path

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.53 ms | 1398 KiB | 14 Q