PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

IS_EQUAL

PHP code

<?php
/*
 * compares if value1 and value2 are equal
 * opcode number: 17
 */
echo (== 1);
echo (
== 'c');
?>

PHP opcodes

Function name: (null)

Compiled variables: none

line#op fetchextreturn operands
60 IS_EQUAL   ~0 1,1
 1 ECHO     ~0
72 IS_EQUAL   ~1 1,'c'
 3 ECHO     ~1
84 RETURN     1

PHP Manual