3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 0; $i < 100000; $i++) { $test = round($i + 0.735, 2); if (!preg_match('`74$`', $test)) { echo $test . "\n"; } }
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 = 43) Position 1 = 14, Position 2 = 16
Branch analysis from position: 14
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: 16
filename:       /in/7sNaV
function name:  (null)
number of ops:  20
compiled vars:  !0 = $i, !1 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->17
    4     2    >   INIT_FCALL                                               'round'
          3        ADD                                              ~3      !0, 0.735
          4        SEND_VAL                                                 ~3
          5        SEND_VAL                                                 2
          6        DO_ICALL                                         $4      
          7        ASSIGN                                                   !1, $4
    5     8        INIT_FCALL                                               'preg_match'
          9        SEND_VAL                                                 '%6074%24%60'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $6      
         12        BOOL_NOT                                         ~7      $6
         13      > JMPZ                                                     ~7, ->16
    6    14    >   CONCAT                                           ~8      !1, '%0A'
         15        ECHO                                                     ~8
    3    16    >   PRE_INC                                                  !0
         17    >   IS_SMALLER                                               !0, 100000
         18      > JMPNZ                                                    ~10, ->2
    8    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.01 ms | 1395 KiB | 17 Q