BOOL

PHP code

<?php
/*
 * convert value1 to boolean and store in result??????????
 * opcode number: 52
 */
if (1 || 2 || 1) echo "foo";
//$a = true;
//if($a) echo "foo";
?>

PHP opcodes

Function name: (null)

Compiled variables: none

line#opfetchextreturnoperands
60JMPNZ_EX  ~01,->2
 1BOOL  ~02
 2JMPNZ_EX  ~0~0,->4
 3BOOL  ~01
 4JMPZ   ~0,->7
 5ECHO   'foo'
 6JMP   ->7
97RETURN   1