3v4l.org

run code in 300+ PHP versions simultaneously
<?php $truths = [ '0 === 0', '0 === 0.0', '0 == 0', '0 === 0.0', ]; foreach ($truths as $truth) { echo $truth . ': ' . eval("return $truth;") . PHP_EOL; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 2, Position 2 = 12
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 12
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/ucntG
function name:  (null)
number of ops:  14
compiled vars:  !0 = $truths, !1 = $truth
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1      > FE_RESET_R                                       $3      !0, ->12
          2    > > FE_FETCH_R                                               $3, !1, ->12
   11     3    >   CONCAT                                           ~4      !1, '%3A+'
          4        ROPE_INIT                                     3  ~6      'return+'
          5        ROPE_ADD                                      1  ~6      ~6, !1
          6        ROPE_END                                      2  ~5      ~6, '%3B'
          7        INCLUDE_OR_EVAL                                  $8      ~5, EVAL
          8        CONCAT                                           ~9      ~4, $8
          9        CONCAT                                           ~10     ~9, '%0A'
         10        ECHO                                                     ~10
   10    11      > JMP                                                      ->2
         12    >   FE_FREE                                                  $3
   12    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.28 ms | 1393 KiB | 13 Q