PHP 5.6.0 released

IS_IDENTICAL

PHP code

<?php
/*
 * Compares value1 and value2 to see if they are equal AND have the same type
 * opcode number: 15
 */
echo (1===1);
echo (
1==='a');
?>

PHP opcodes

Function name: (null)

Compiled variables: none

line#op fetchextreturn operands
60 IS_IDENTICAL   ~0 1,1
 1 ECHO     ~0
72 IS_IDENTICAL   ~1 1,'a'
 3 ECHO     ~1
84 RETURN     1
add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top