Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Zend/tests/constexpr/new_dynamic_class_name.phpt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
Dynamic class name in new is not supported
Dynamic class name in new is supported
--FILE--
<?php

Expand Down
2 changes: 1 addition & 1 deletion Zend/tests/constexpr/new_invalid_operation_in_arg.phpt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
Invalid operation in new arg in const expr
Valid operation in new arg in const expr
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is interesting, because AFAICT it no longer is a constexpr context since https://wiki.php.net/rfc/arbitrary_static_variable_initializers

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, guess I forgot to update the test description.

--FILE--
<?php

Expand Down
2 changes: 1 addition & 1 deletion Zend/tests/constexpr/new_static.phpt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--TEST--
Static in new is not supported
Static in new is supported
--FILE--
<?php

Expand Down
Loading