3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ( $totaltime = 0; $totaltime < 11; $totaltime += 0.5 ) { switch ( true ) { case ( $totaltime < 1 ): echo $totaltime . " That was fast!\n"; break; case ( $totaltime < 10 ): echo $totaltime . " Not fast!\n"; break; default: echo $totaltime . " That's slooooow\n"; break; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 2
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 6, Position 2 = 10
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 2
Branch analysis from position: 19
Branch analysis from position: 2
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
filename:       /in/d71lZ
function name:  (null)
number of ops:  20
compiled vars:  !0 = $totaltime
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->17
    5     2    >   IS_SMALLER                                               !0, 1
          3      > JMPNZ                                                    ~3, ->7
    8     4    >   IS_SMALLER                                               !0, 10
          5      > JMPNZ                                                    ~4, ->10
          6    > > JMP                                                      ->13
    6     7    >   CONCAT                                           ~5      !0, '+That+was+fast%21%0A'
          8        ECHO                                                     ~5
    7     9      > JMP                                                      ->16
    9    10    >   CONCAT                                           ~6      !0, '+Not+fast%21%0A'
         11        ECHO                                                     ~6
   10    12      > JMP                                                      ->16
   12    13    >   CONCAT                                           ~7      !0, '+That%27s+slooooow%0A'
         14        ECHO                                                     ~7
   13    15      > JMP                                                      ->16
    3    16    >   ASSIGN_OP                                     1          !0, 0.5
         17    >   IS_SMALLER                                               !0, 11
         18      > JMPNZ                                                    ~9, ->2
   15    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.32 ms | 1442 KiB | 13 Q