FETCH_CONSTANT

PHP code

<?php
/*
 * Fetch the constant value bound to the specified name (name) and stores it into a variable (result).
 * opcode number: 99
 */
define("FOO", "something");
echo FOO;
?>

PHP opcodes

Function name: (null)

Compiled variables: none

line#opfetchextreturnoperands
60SEND_VAL   'FOO'
 1SEND_VAL   'something'
 2DO_FCALL 2 'define'
73FETCH_CONSTANT  ~1'FOO'
 4ECHO   ~1
85RETURN   1