Skip to content

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Sep 24, 2024

RFC: https://wiki.php.net/rfc/warn-resource-to-string

Notes about internals function that need some sort of overhaul:

  • zval_compare() to not be a wrapper around string_compare_function() (and/or refactor php_array_intersect and co)
  • zend_get_callable_name_ex() to return NULL as failure when passing a nonsensical type as a callable
  • Update print_r() to not emit a warning?

@Girgias Girgias force-pushed the resource-to-string-deprecation branch from e9ead96 to 03133ff Compare September 24, 2024 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant