Bug #74637 [Opn->Nab]: Php 7 not giving line number error
| From: | requinix@php.net | Date: | Tue, 23 May 2017 11:49:42 +0000 |
| Subject: | Bug #74637 [Opn->Nab]: Php 7 not giving line number error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-209235@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74637&edit=1
ID: 74637
Updated by: requinix@php.net
Reported by: arizsumagui at gmail dot com
Summary: Php 7 not giving line number error
-Status: Open
+Status: Not a bug
Type: Bug
Package: *General Issues
Operating System: Windows Server 2012
PHP Version: 7.1.5
Block user comment: N
Private report: N
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Turn on the display_errors setting.
Previous Comments:
------------------------------------------------------------------------
[2017-05-23 11:47:32] arizsumagui at gmail dot com
Description:
------------
Good day PHP Developers,
Please see below scenario for my bug report.
1. I'am Trying to make a sample program pertaining to LDAP.
2. I run the php script to my other workstation running PHP 5.3 and shows me an error.
3. I run the same php script to my other workstation running PHP 7.1.5, but instead of showing me
the error, It shows http error 500.
4. I debug the script using PHP 5.3 and it works fine.
5. I run the debugged script to PHP 7.1.5 and it works.
Conclusion: PHP 7 error reporting not yet accurate.
Below is the link for the actual screenshot for the issue.
https://cdn.pbrd.co/images/9IDVNZIjn.jpg
I hope it helps,
And thank you very much for your unending support to our fellow programmers.
Thank You!
Test script:
---------------
<?php
$dn = "cn=read-only-admin,dc=example,dc=com";
$password= "password";
$connection = ldap_connect("ldap.forumsys.com");
ldap_set_option($connection, LDAP_OPT_PROTOCOL_VERSION, 3);
if(ldap_bind($connection,$dn,$password)){
echo "Hello World";
}else{
echo "Bye World";
}
?>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74637&edit=1