This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 270249

Summary: The function-parameters of mysqli_real_escape_string in the IDE and on php.net differ.
Product: php Reporter: Kallian
Component: CodeAssignee: issues@php <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

Description Kallian 2017-03-30 07:59:54 UTC
Product Version = NetBeans IDE 8.2 (Build 201609300101)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.8.0_112
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.112-b15

Reproducibility: Happens every time

STEPS:
  * In a php-script type "mysqli_real_escape_string"
  * The function-parameters show, that only a string is needed

ACTUAL:
  On php.net it says, that also the connection-id ist needed as the first parameter

EXPECTED:
  Correct function-parameters for mysqli_real_escape_string