3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (['a' => 1]) { echo "Непустой массив в условном операторе приводится к true"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 1, Position 2 = 2
Branch analysis from position: 1
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
filename:       /in/0tXT2
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E > > JMPZ                                                     <array>, ->2
    3     1    >   ECHO                                                     '%D0%9D%D0%B5%D0%BF%D1%83%D1%81%D1%82%D0%BE%D0%B9+%D0%BC%D0%B0%D1%81%D1%81%D0%B8%D0%B2+%D0%B2+%D1%83%D1%81%D0%BB%D0%BE%D0%B2%D0%BD%D0%BE%D0%BC+%D0%BE%D0%BF%D0%B5%D1%80%D0%B0%D1%82%D0%BE%D1%80%D0%B5+%D0%BF%D1%80%D0%B8%D0%B2%D0%BE%D0%B4%D0%B8%D1%82%D1%81%D1%8F+%D0%BA+true'
    4     2    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.48 ms | 1403 KiB | 13 Q