PHP Unconference Europe 2015

ISSET_ISEMPTY_DIM_OBJ

PHP code

<?php
/*
 * Tests if the entry of an array is set or not.
 * opcode number: 115
 */
if(isset($a[0])) return 0;
?>

PHP opcodes

Function name: (null)

Compiled variables: !0=$a

line#op fetchextreturn operands
60 ZEND_ISSET_ISEMPTY_DIM_OBJ  1~0 !0,0
 1 JMPZ     ~0,->4
 2 RETURN     0
 3 JMP     ->4
74 RETURN     1
add a note add a note

User Contributed Notes

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