FETCH_CONSTANT

PHP code

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

PHP opcodes

Function name: (null)

Compiled variables: none

line#op fetchextreturn operands
60 SEND_VAL     'FOO'
 1 SEND_VAL     'something'
 2 DO_FCALL  2  'define'
73 FETCH_CONSTANT   ~1 'FOO'
 4 ECHO     ~1
85 RETURN     1
LoadingChargement en cours