Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning in ReflectionExtension::export('sqlsrv') #22

Closed
v-mabarw opened this issue Jul 29, 2014 · 4 comments
Closed

Warning in ReflectionExtension::export('sqlsrv') #22

v-mabarw opened this issue Jul 29, 2014 · 4 comments

Comments

@v-mabarw
Copy link
Member

PHP 5.3.5 - windows 7 - VC6 ts

ReflectionExtension::export('sqlsrv');

Warning: ReflectionExtension::__toString(): Internal error: Cannot find
extension function SQLSRV_PHPTYPE_STREAM in global function table in
C:\www\test\index.php on line 4

Warning: ReflectionExtension::__toString(): Internal error: Cannot find
extension function SQLSRV_PHPTYPE_STRING in global function table in
C:\www\test\index.php on line 4

Warning: ReflectionExtension::__toString(): Internal error: Cannot find
extension function SQLSRV_SQLTYPE_BINARY in global function table in
C:\www\test\index.php on line 4

Warning: ReflectionExtension::__toString(): Internal error: Cannot find
extension function SQLSRV_SQLTYPE_CHAR in global function table in
C:\www\test\index.php on line 4

Warning: ReflectionExtension::__toString(): Internal error: Cannot find
extension function SQLSRV_SQLTYPE_DECIMAL in global function table in
C:\www\test\index.php on line 4

Warning: ReflectionExtension::__toString(): Internal error: Cannot find
extension function SQLSRV_SQLTYPE_NCHAR in global function table in
C:\www\test\index.php on line 4

Warning: ReflectionExtension::__toString(): Internal error: Cannot find
extension function SQLSRV_SQLTYPE_NUMERIC in global function table in
C:\www\test\index.php on line 4

Warning: ReflectionExtension::__toString(): Internal error: Cannot find
extension function SQLSRV_SQLTYPE_NVARCHAR in global function table in
C:\www\test\index.php on line 4

Warning: ReflectionExtension::__toString(): Internal error: Cannot find
extension function SQLSRV_SQLTYPE_VARBINARY in global function table in
C:\www\test\index.php on line 4

Warning: ReflectionExtension::__toString(): Internal error: Cannot find
extension function SQLSRV_SQLTYPE_VARCHAR in global function table in
C:\www\test\index.php on line 4
Extension [ extension #57 sqlsrv version 2.0.1307.0 ] {

  • INI {
    Entry [ sqlsrv.LogSeverity ]
    Current = '0'
    }
    Entry [ sqlsrv.LogSubsystems ]
    Current = '0'
    }
    Entry [ sqlsrv.WarningsReturnAsErrors ]
    Current = '1'
    }
    }
  • Constants [65] {
    Constant [ integer SQLSRV_ERR_ERRORS ] { 0 }
    Constant [ integer SQLSRV_ERR_WARNINGS ] { 1 }
    Constant [ integer SQLSRV_ERR_ALL ] { 2 }
    Constant [ integer SQLSRV_LOG_SYSTEM_OFF ] { 0 }
    Constant [ integer SQLSRV_LOG_SYSTEM_INIT ] { 1 }
    Constant [ integer SQLSRV_LOG_SYSTEM_CONN ] { 2 }
    Constant [ integer SQLSRV_LOG_SYSTEM_STMT ] { 4 }
    Constant [ integer SQLSRV_LOG_SYSTEM_UTIL ] { 8 }
    Constant [ integer SQLSRV_LOG_SYSTEM_ALL ] { -1 }
    Constant [ integer SQLSRV_LOG_SEVERITY_ERROR ] { 1 }
    Constant [ integer SQLSRV_LOG_SEVERITY_WARNING ] { 2 }
    Constant [ integer SQLSRV_LOG_SEVERITY_NOTICE ] { 4 }
    Constant [ integer SQLSRV_LOG_SEVERITY_ALL ] { -1 }
    Constant [ integer SQLSRV_FETCH_NUMERIC ] { 1 }
    Constant [ integer SQLSRV_FETCH_ASSOC ] { 2 }
    Constant [ integer SQLSRV_FETCH_BOTH ] { 3 }
    Constant [ integer SQLSRV_PHPTYPE_NULL ] { 1 }
    Constant [ integer SQLSRV_PHPTYPE_INT ] { 2 }
    Constant [ integer SQLSRV_PHPTYPE_FLOAT ] { 3 }
    Constant [ integer SQLSRV_PHPTYPE_DATETIME ] { 5 }
    Constant [ string SQLSRV_ENC_BINARY ] { binary }
    Constant [ string SQLSRV_ENC_CHAR ] { char }
    Constant [ integer SQLSRV_NULLABLE_YES ] { 0 }
    Constant [ integer SQLSRV_NULLABLE_NO ] { 1 }
    Constant [ integer SQLSRV_NULLABLE_UNKNOWN ] { 2 }
    Constant [ integer SQLSRV_SQLTYPE_BIGINT ] { -5 }
    Constant [ integer SQLSRV_SQLTYPE_BIT ] { -7 }
    Constant [ integer SQLSRV_SQLTYPE_DATETIME ] { 25177693 }
    Constant [ integer SQLSRV_SQLTYPE_FLOAT ] { 6 }
    Constant [ integer SQLSRV_SQLTYPE_IMAGE ] { -4 }
    Constant [ integer SQLSRV_SQLTYPE_INT ] { 4 }
    Constant [ integer SQLSRV_SQLTYPE_MONEY ] { 33564163 }
    Constant [ integer SQLSRV_SQLTYPE_NTEXT ] { -10 }
    Constant [ integer SQLSRV_SQLTYPE_TEXT ] { -1 }
    Constant [ integer SQLSRV_SQLTYPE_REAL ] { 7 }
    Constant [ integer SQLSRV_SQLTYPE_SMALLDATETIME ] { 8285 }
    Constant [ integer SQLSRV_SQLTYPE_SMALLINT ] { 5 }
    Constant [ integer SQLSRV_SQLTYPE_SMALLMONEY ] { 33559555 }
    Constant [ integer SQLSRV_SQLTYPE_TIMESTAMP ] { 4606 }
    Constant [ integer SQLSRV_SQLTYPE_TINYINT ] { -6 }
    Constant [ integer SQLSRV_SQLTYPE_UDT ] { -151 }
    Constant [ integer SQLSRV_SQLTYPE_UNIQUEIDENTIFIER ] { -11 }
    Constant [ integer SQLSRV_SQLTYPE_XML ] { -152 }
    Constant [ integer SQLSRV_SQLTYPE_DATE ] { 5211 }
    Constant [ integer SQLSRV_SQLTYPE_TIME ] { 58728806 }
    Constant [ integer SQLSRV_SQLTYPE_DATETIMEOFFSET ] { 58738021 }
    Constant [ integer SQLSRV_SQLTYPE_DATETIME2 ] { 58734173 }
    Constant [ integer SQLSRV_PARAM_IN ] { 1 }
    Constant [ integer SQLSRV_PARAM_OUT ] { 4 }
    Constant [ integer SQLSRV_PARAM_INOUT ] { 2 }
    Constant [ integer SQLSRV_TXN_READ_UNCOMMITTED ] { 1 }
    Constant [ integer SQLSRV_TXN_READ_COMMITTED ] { 2 }
    Constant [ integer SQLSRV_TXN_REPEATABLE_READ ] { 4 }
    Constant [ integer SQLSRV_TXN_SERIALIZABLE ] { 8 }
    Constant [ integer SQLSRV_TXN_SNAPSHOT ] { 32 }
    Constant [ integer SQLSRV_SCROLL_NEXT ] { 1 }
    Constant [ integer SQLSRV_SCROLL_PRIOR ] { 4 }
    Constant [ integer SQLSRV_SCROLL_FIRST ] { 2 }
    Constant [ integer SQLSRV_SCROLL_LAST ] { 3 }
    Constant [ integer SQLSRV_SCROLL_ABSOLUTE ] { 5 }
    Constant [ integer SQLSRV_SCROLL_RELATIVE ] { 6 }
    Constant [ string SQLSRV_CURSOR_FORWARD ] { forward }
    Constant [ string SQLSRV_CURSOR_STATIC ] { static }
    Constant [ string SQLSRV_CURSOR_DYNAMIC ] { dynamic }
    Constant [ string SQLSRV_CURSOR_KEYSET ] { keyset }
    }
  • Functions {
    Function [ function sqlsrv_connect ] {

Work Item Details

Original CodePlex Issue: Issue 20138
Status: Proposed
Reason Closed: Unassigned
Assigned to: Unassigned
Reported on: Mar 4, 2011 at 12:13 PM
Reported by: stealth35
Updated on: Mar 4, 2011 at 2:54 PM
Updated by: stealth35

@v-mabarw
Copy link
Member Author

On 2011-03-04 22:14:21 UTC, RQuadling commented:

Duplicate of
http://sqlsrvphp.codeplex.com/workitem/16926. And my initial patch to fix the "quotes" was stupid. I didn't actually think about it properly.

As for the warnings ...

The sooner this extension is in PECL and opened to the rest of the developers the better.

But not holding my breath.

@v-mabarw
Copy link
Member Author

On 2011-03-04 22:54:56 UTC, stealth35 commented:

Why write, PHP_FUNCTION in php_sqlsrv.h and PHP_FE in ini.cpp, it's just constants ? use REGISTER_*_CONSTANT ;)

@v-mabarw
Copy link
Member Author

Details missed by CodePlex Issue Migration:

  • Votes on this issue = 2

@yitam
Copy link
Contributor

yitam commented Jan 6, 2017

Already fixed. Closing the issue.

@yitam yitam closed this as completed Jan 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants