php-src/Zend/tests/enum/empty-from.phpt
DanielEScherzer ea297654f4
Zend/*: fix a bunch of typos (GH-16017)
* Zend/*: fix a bunch of typos

* Zend/tests/try/try_catch_finally_005.phpt: update string length
2024-09-24 10:55:21 +02:00

12 lines
137 B
PHP

--TEST--
Empty enum with from/tryFrom doesn't segfault
--FILE--
<?php
enum A: string {}
var_dump(A::tryFrom('B'));
?>
--EXPECT--
NULL