Req #79180 [Com]: Conflicts with inherited typed property types should be exceptions not errors
| From: | divyajiwebmaster at gmail dot com | Date: | Fri, 25 Jun 2021 10:19:57 +0000 |
| Subject: | Req #79180 [Com]: Conflicts with inherited typed property types should be exceptions not errors | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-234629@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=79180&edit=1
ID: 79180
Comment by: divyajiwebmaster at gmail dot com
Reported by: bugreports at gmail dot com
Summary: Conflicts with inherited typed property types should
be exceptions not errors
Status: Open
Type: Feature/Change Request
Package: Class/Object related
PHP Version: 7.4Git-2020-01-27 (Git)
Block user comment: N
Private report: N
New Comment:
You really manage to like your night and night time. One hundred percent genuine Indian female
supplier call Lucknow. You watch over-heated personalities, big smiles and attractive faces for
offspring. Sadie and charming beauty with thick frame 2 and purple lips and blonde hair And services
for girls to name 247 offered here, Escorts In Lucknow is a fun company to carefully explore the
coolies in the larger beauty establishments Here You can find profiles and crosses on the profile
page.
http://www.divyaji.com
Previous Comments:
------------------------------------------------------------------------
[2020-01-27 23:17:01] nikic@php.net
Inheritance errors are not catchable for technical reasons. I don't see this changing anytime
soon.
------------------------------------------------------------------------
[2020-01-27 22:50:34] bugreports at gmail dot com
Description:
------------
PHP Fatal error: Type of test_typed_properties_extended::$int must be int (as in class
test_typed_properties)
why are such errors not catchable as nearly anything else like parse errors in the recent history?
not helpful when a testsuite designed to collect all errors and warnings and present them at the end
silently stops while it would echo error_log normally as final action
try
{
require $testfile;
}
catch(Throwable $exception)
{
$this->trigger_error("custom/{$basename_testfile} - Exception -
{$this->format_exception((string)$exception)}");
}
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79180&edit=1