3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo (int)("1" == " 1") . "\n"; echo (int)(" 1" == "1") . "\n"; echo (int)(" 1" == 1) . "\n"; echo (int)(1 == " 1") . "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RvI0I
function name:  (null)
number of ops:  13
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   CAST                                          4  ~0      <true>
          1        CONCAT                                           ~1      ~0, '%0A'
          2        ECHO                                                     ~1
    4     3        CAST                                          4  ~2      <true>
          4        CONCAT                                           ~3      ~2, '%0A'
          5        ECHO                                                     ~3
    5     6        CAST                                          4  ~4      <true>
          7        CONCAT                                           ~5      ~4, '%0A'
          8        ECHO                                                     ~5
    6     9        CAST                                          4  ~6      <true>
         10        CONCAT                                           ~7      ~6, '%0A'
         11        ECHO                                                     ~7
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.56 ms | 1393 KiB | 13 Q