Bug #66534 [Fbk->NoF]: extends Exception
Edit report at https://bugs.php.net/bug.php?id=66534&edit=1
ID: 66534
Updated by: php-bugs@lists.php.net
Reported by: admin at angosso dot net
Summary: extends Exception
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Built-in web server
Operating System: tmp
PHP Version: 5.4.24
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2014-01-21 18:06:03] requinix@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
...assuming you're trying to report a bug, because this is not the place to get help
troubleshooting your application.
------------------------------------------------------------------------
[2014-01-21 12:24:37] admin at angosso dot net
Description:
------------
Service threw exceptions, A Yar_Server_Exception in client side Server
Test script:
---------------
Yar_Server_Exception extends Exception {
/* Properties */
protected $_type ;
/* Methods */
public stringgetType ( void )
/* Inherited methods */
final public stringException::getMessage ( void )
final public ExceptionException::getPrevious ( void )
final public mixedException::getCode ( void )
final public stringException::getFile ( void )
final public intException::getLine ( void )
final public arrayException::getTrace ( void )
final public stringException::getTraceAsString ( void )
public string Exception::__toString ( void )
final private voidException::__clone ( void )
}
Contenu de /home/angosson/
Expected result:
----------------
<?php
class MySoapService {
private $user_is_valid;
function MyHeader($header) {
if ((isset($header->Username)) && (isset($header->Password))) {
if (ValidateUser($header->Username, $header->Password)) {
$user_is_valid = true;/home/angosson/public_html/ (www);
}
}
}
function MySoapRequest($request) {
if ($user_is_valid) {
// process request
Accueil /home/angosson/
/home/angosson/public_ftp/
/home/angosson/public_html/ (www)
index.html.var* index.htm* index.html* index.shtml* index.xhtml* index.wml* index.perl* index.pl*
index.plx* index.ppl* index.cgi* index.jsp* index.js* index.jp* index.php4* index.php3* index.php*
index.phtml* default.htm* default.html* home.htm* index.php5* Default.html* Default.htm* home.html*
}
else {
throw new MyFault("MySoapRequest", "User not valid.");
}
}
}
?>
Actual result:
--------------
Called when that header is not received.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66534&edit=1
Thread (3 messages)