Bug #55156 (ReflectionClass::getDocComment() returns comment even though the class has none)
--INI--
opcache.save_comments=1
-opcache.load_comments=1
--FILE--
<?php
ReflectionMethod::getDocComment() uses wrong comment block
--INI--
opcache.save_comments=1
-opcache.load_comments=1
--FILE--
<?php
ReflectionFunction basic tests
--INI--
opcache.save_comments=1
-opcache.load_comments=1
--FILE--
<?php
<?php extension_loaded('reflection') or die('skip'); ?>
--INI--
opcache.save_comments=1
-opcache.load_comments=1
--FILE--
<?php
Steve Seear <stevseea@php.net>
--INI--
opcache.save_comments=1
-opcache.load_comments=1
--FILE--
<?php
/**
Steve Seear <stevseea@php.net>
--INI--
opcache.save_comments=1
-opcache.load_comments=1
--FILE--
<?php
ReflectionMethod::getDocComment()
--INI--
opcache.save_comments=1
-opcache.load_comments=1
--FILE--
<?php
/**
Test usage of ReflectionProperty methods isDefault(), getModifiers(), getDeclaringClass() and getDocComment().
--INI--
opcache.save_comments=1
-opcache.load_comments=1
--FILE--
<?php
Test ReflectionProperty::getDocComment() usage.
--INI--
opcache.save_comments=1
-opcache.load_comments=1
--FILE--
<?php
Reflection Bug #36308 (ReflectionProperty::getDocComment() does not reflect extended class commentary)
--INI--
opcache.save_comments=1
-opcache.load_comments=1
--FILE--
<?php
class Base {
ReflectionMethod::getDocComment() uses left over doc comment from previous scanner run
--INI--
opcache.save_comments=1
-opcache.load_comments=1
--SKIPIF--
<?php
if (!extension_loaded('reflection') || !extension_loaded('tokenizer')) print 'skip missing reflection of tokernizer extension';
; size of the optimized code.
;opcache.save_comments=1
-; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
-; may be always stored (save_comments=1), but not loaded by applications
-; that don't need them anyway.
-;opcache.load_comments=1
-
; If enabled, a fast shutdown sequence is used for the accelerated code
;opcache.fast_shutdown=0
; size of the optimized code.
;opcache.save_comments=1
-; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
-; may be always stored (save_comments=1), but not loaded by applications
-; that don't need them anyway.
-;opcache.load_comments=1
-
; If enabled, a fast shutdown sequence is used for the accelerated code
;opcache.fast_shutdown=0