文字

FETCH_CONSTANT

PHP code

<?php

define ( "FOO" "something" );
echo 
FOO ;
?>

PHP opcodes

Function name: (null)

Compiled variables: none

line # op fetch ext return operands
6 0 SEND_VAL       'FOO'
  1 SEND_VAL       'something'
  2 DO_FCALL   2   'define'
7 3 FETCH_CONSTANT     ~1 'FOO'
  4 ECHO       ~1
8 5 RETURN       1
上一篇: 下一篇: