php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60077 SoapServer ignores type hinting
Submitted: 2011-10-17 16:13 UTC Modified: 2020-03-22 04:22 UTC
Votes:8
Avg. Score:4.4 ± 0.9
Reproduced:7 of 7 (100.0%)
Same Version:1 (14.3%)
Same OS:3 (42.9%)
From: encard at p5r dot ru Assigned: cmb (profile)
Status: No Feedback Package: SOAP related
PHP Version: 5.3.8 OS: Ubuntu 11.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: encard at p5r dot ru
New email:
PHP Version: OS:

 

 [2011-10-17 16:13 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-11-07 16:53 UTC] will dot fitch at gmail dot com
What is the result of gettype($arr)?
 [2012-01-02 19:17 UTC] encard at p5r dot ru
It's equivalent to type of $a variable (line #33 of test script) which now is 
integer.
 [2020-03-13 15:56 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-03-13 15:56 UTC] cmb@php.net
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>
 [2020-03-22 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun May 09 20:01:23 2021 UTC