Skip to content

Commit 5368fa9

Browse files
committed
Update tests
1 parent f8a297d commit 5368fa9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

ext/reflection/tests/ReflectionClass_modifiers_001.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ bool(false)
4848
bool(false)
4949
bool(false)
5050
bool(true)
51-
int(32768)
51+
int(65536)
5252
bool(false)
5353
bool(true)
5454
bool(false)

ext/reflection/tests/ReflectionClass_toString_001.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Class [ <internal:Reflection> class ReflectionClass implements Stringable, Refle
1515
Constant [ public int IS_IMPLICIT_ABSTRACT ] { 16 }
1616
Constant [ public int IS_EXPLICIT_ABSTRACT ] { 64 }
1717
Constant [ public int IS_FINAL ] { 32 }
18-
Constant [ public int IS_READONLY ] { 32768 }
18+
Constant [ public int IS_READONLY ] { 65536 }
1919
}
2020

2121
- Static properties [0] {

ext/reflection/tests/readonly_class.phpt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ var_dump($foo->isReadOnly());
1414
var_dump(($foo->getModifiers() & ReflectionClass::IS_READONLY) != 0);
1515

1616
$bar = new ReflectionClass(Bar::class);
17-
var_dump($foo->isReadOnly());
18-
var_dump(($foo->getModifiers() & ReflectionClass::IS_READONLY) != 0);
17+
var_dump($bar->isReadOnly());
18+
var_dump(($bar->getModifiers() & ReflectionClass::IS_READONLY) != 0);
1919

2020
?>
2121
--EXPECT--
2222
bool(false)
2323
bool(false)
24-
bool(false)
25-
bool(false)
24+
bool(true)
25+
bool(true)

0 commit comments

Comments
 (0)