3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 1; $i < 256; $i++) { $char = chr($i); echo (($i >= '0') ? 'true' : 'false') . "\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 2
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 2
Branch analysis from position: 16
Branch analysis from position: 2
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 2
Branch analysis from position: 16
Branch analysis from position: 2
filename:       /in/krej5
function name:  (null)
number of ops:  17
compiled vars:  !0 = $i, !1 = $char
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 1
          1      > JMP                                                      ->14
    4     2    >   INIT_FCALL                                               'chr'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !1, $3
    6     6        IS_SMALLER_OR_EQUAL                                      '0', !0
          7      > JMPZ                                                     ~5, ->10
          8    >   QM_ASSIGN                                        ~6      'true'
          9      > JMP                                                      ->11
         10    >   QM_ASSIGN                                        ~6      'false'
         11    >   CONCAT                                           ~7      ~6, '%0A'
         12        ECHO                                                     ~7
    3    13        PRE_INC                                                  !0
         14    >   IS_SMALLER                                               !0, 256
         15      > JMPNZ                                                    ~9, ->2
    7    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.48 ms | 1395 KiB | 15 Q