Skip to content

Commit ae88a24

Browse files
committed
Rmoved opcache.load_comments.
1 parent ea14c20 commit ae88a24

13 files changed

+0
-21
lines changed

Zend/tests/bug55156.phpt

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
Bug #55156 (ReflectionClass::getDocComment() returns comment even though the class has none)
33
--INI--
44
opcache.save_comments=1
5-
opcache.load_comments=1
65
--FILE--
76
<?php
87

ext/reflection/tests/005.phpt

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
ReflectionMethod::getDocComment() uses wrong comment block
33
--INI--
44
opcache.save_comments=1
5-
opcache.load_comments=1
65
--FILE--
76
<?php
87

ext/reflection/tests/009.phpt

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
ReflectionFunction basic tests
33
--INI--
44
opcache.save_comments=1
5-
opcache.load_comments=1
65
--FILE--
76
<?php
87

ext/reflection/tests/025.phpt

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ ReflectionFunction basic tests
44
<?php extension_loaded('reflection') or die('skip'); ?>
55
--INI--
66
opcache.save_comments=1
7-
opcache.load_comments=1
87
--FILE--
98
<?php
109

ext/reflection/tests/ReflectionClass_getDocComment_001.phpt

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Robin Fernandes <robinf@php.net>
55
Steve Seear <stevseea@php.net>
66
--INI--
77
opcache.save_comments=1
8-
opcache.load_comments=1
98
--FILE--
109
<?php
1110
/**

ext/reflection/tests/ReflectionFunction_getDocComment.001.phpt

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ Robin Fernandes <robinf@php.net>
55
Steve Seear <stevseea@php.net>
66
--INI--
77
opcache.save_comments=1
8-
opcache.load_comments=1
98
--FILE--
109
<?php
1110

ext/reflection/tests/ReflectionMethod_getDocComment_basic.phpt

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
ReflectionMethod::getDocComment()
33
--INI--
44
opcache.save_comments=1
5-
opcache.load_comments=1
65
--FILE--
76
<?php
87
/**

ext/reflection/tests/ReflectionProperty_basic2.phpt

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
Test usage of ReflectionProperty methods isDefault(), getModifiers(), getDeclaringClass() and getDocComment().
33
--INI--
44
opcache.save_comments=1
5-
opcache.load_comments=1
65
--FILE--
76
<?php
87

ext/reflection/tests/ReflectionProperty_getDocComment_basic.phpt

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
Test ReflectionProperty::getDocComment() usage.
33
--INI--
44
opcache.save_comments=1
5-
opcache.load_comments=1
65
--FILE--
76
<?php
87

ext/reflection/tests/bug36308.phpt

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
Reflection Bug #36308 (ReflectionProperty::getDocComment() does not reflect extended class commentary)
33
--INI--
44
opcache.save_comments=1
5-
opcache.load_comments=1
65
--FILE--
76
<?php
87
class Base {

ext/reflection/tests/bug64936.phpt

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
ReflectionMethod::getDocComment() uses left over doc comment from previous scanner run
33
--INI--
44
opcache.save_comments=1
5-
opcache.load_comments=1
65
--SKIPIF--
76
<?php
87
if (!extension_loaded('reflection') || !extension_loaded('tokenizer')) print 'skip missing reflection of tokernizer extension';

php.ini-development

-5
Original file line numberDiff line numberDiff line change
@@ -1767,11 +1767,6 @@ ldap.max_links = -1
17671767
; size of the optimized code.
17681768
;opcache.save_comments=1
17691769

1770-
; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
1771-
; may be always stored (save_comments=1), but not loaded by applications
1772-
; that don't need them anyway.
1773-
;opcache.load_comments=1
1774-
17751770
; If enabled, a fast shutdown sequence is used for the accelerated code
17761771
;opcache.fast_shutdown=0
17771772

php.ini-production

-5
Original file line numberDiff line numberDiff line change
@@ -1767,11 +1767,6 @@ ldap.max_links = -1
17671767
; size of the optimized code.
17681768
;opcache.save_comments=1
17691769

1770-
; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
1771-
; may be always stored (save_comments=1), but not loaded by applications
1772-
; that don't need them anyway.
1773-
;opcache.load_comments=1
1774-
17751770
; If enabled, a fast shutdown sequence is used for the accelerated code
17761771
;opcache.fast_shutdown=0
17771772

0 commit comments

Comments
 (0)