Bug #60077 [Opn->Fbk]: SoapServer ignores type hinting
| From: | cmb@php.net | Date: | Fri, 13 Mar 2020 15:56:14 +0000 |
| Subject: | Bug #60077 [Opn->Fbk]: SoapServer ignores type hinting | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-226097@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60077&edit=1
ID: 60077
Updated by: cmb@php.net
Reported by: encard at p5r dot ru
Summary: SoapServer ignores type hinting
-Status: Open
+Status: Feedback
Type: Bug
Package: SOAP related
Operating System: Ubuntu 11.04
PHP Version: 5.3.8
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
I cannot reproduce this; I get the expected SoapFault exception
(PHP-7.3 and PHP-7.4 on Windows with mysqlnd). Does this still
fail for you with any of the actively supported PHP versions[1]?
[1] <https://www.php.net/supported-versions.php>
Previous Comments:
------------------------------------------------------------------------
[2012-01-02 19:17:26] encard at p5r dot ru
It's equivalent to type of $a variable (line #33 of test script) which now is
integer.
------------------------------------------------------------------------
[2011-11-07 16:53:27] will dot fitch at gmail dot com
What is the result of gettype($arr)?
------------------------------------------------------------------------
[2011-10-17 16:13:21] encard at p5r dot ru
Description:
------------
Type hinting is totally ignored on every code executed by SoapServer object
during SOAP request.
Test script:
---------------
http://textuploader.com/?p=6&id=T8LNv
Expected result:
----------------
Fatal error.
Actual result:
--------------
Type hinting is ignored.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60077&edit=1