1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 23:18:13 +02:00
Commit Graph

83 Commits

Author SHA1 Message Date
Gabriel Caruso cf5f26b260 Fix failing test upstream
There was a trailing tab when a error message was generated. Removing
it, test is passing now.
2018-07-15 23:40:00 -03:00
Gabriel Caruso b895690dfa remove support for string|unicode in tests 2018-02-22 08:11:30 +01:00
Gabriel Caruso 21e3b0c70c Remove trailing whitespace in inc files 2018-02-10 19:20:23 +01:00
Gabriel Caruso fef879a2d6 Use bool instead of boolean while throwing a type error
PHP requires boolean typehints to be written "bool" and disallows
"boolean" as an alias. This changes the error messages to match
the actual type name and avoids confusing messages like "must be
of type boolean, boolean given".

This a followup to ce1d69a1f6, which
implements the same change for integer->int.
2018-02-04 23:09:40 +01:00
Gabriel Caruso ce1d69a1f6 Use int instead of integer in type errors
PHP requires integer typehints to be written "int" and does not
allow "integer" as an alias. This changes type error messages to
match the actual type name and avoids confusing messages like
"must be of the type integer, integer given".
2018-02-04 19:08:23 +01:00
Anatol Belski e9eeb5edb9 fix test portability 2016-06-17 09:05:27 +02:00
Anatol Belski 4e7cb057a0 partial test fixes, only obvious mistaking parts 2016-01-12 10:44:55 +01:00
Xinchen Hui 8bfa5193d5 Fix various bugs in interbase
Also read: https://marc.info/?l=php-internals&m=145077389117375&w=2
2016-01-11 08:32:47 +01:00
Popa Adrian Marius b9868f23a0 fbird_close if connection_id omitted, the last opened link is assumed , so it was already closed 2015-01-28 15:39:42 +02:00
Popa Adrian Marius 899c24a8c1 cleanup comments from svn/cvs era 2014-11-24 18:40:20 +02:00
Veres Lajos 06fdf359e3 typo fixes - https://github.com/vlajos/misspell_fixer 2014-11-23 14:52:47 -08:00
Dmitry Stogov 21dec5f511 ext/interbase support (incomplete) 2014-07-29 10:15:01 +04:00
Popa Adrian Marius 1a0b80fe90 Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4:
  Cleanup $ is not needed for git
2014-04-10 17:43:09 +03:00
Popa Adrian Marius 1c3ed86211 Cleanup $ is not needed for git 2014-04-10 17:42:32 +03:00
Stanislav Malyshev 02e4d7a290 Merge branch 'pull-request/341'
* pull-request/341: (23 commits)
  typofixes
2013-06-10 14:30:59 -07:00
Stanislav Malyshev ac40c0b562 Merge branch 'pull-request/341'
* pull-request/341: (23 commits)
  typofixes
2013-06-10 14:20:18 -07:00
Xinchen Hui 1b9e0de2cc Remove executable permission on inc 2012-10-10 10:44:34 +08:00
Xinchen Hui 610c7fbe7b Remove executable permission on phpt 2012-10-10 10:27:49 +08:00
Xinchen Hui 4e5e8c9da0 Merge branch 'PHP-5.4' 2012-10-10 10:45:34 +08:00
Xinchen Hui 4b152e5470 Merge branch 'PHP-5.4' 2012-10-10 10:32:38 +08:00
Popa Adrian Marius b69f55c12e sync firebird test 003 with the 5.4 branch , eliminate failing test http://gcov.php.net/viewer.php?version=PHP_5_3&func=tests&file=ext%2Finterbase%2Ftests%2F003.phpt 2012-01-10 05:26:20 +00:00
Ferenc Kovacs d26af683c9 skip the interbase tests if cannot connect to the server 2011-09-22 22:07:02 +00:00
Ferenc Kovacs 471a5a1182 skip the interbase tests if cannot connect to the server 2011-09-22 22:07:02 +00:00
Popa Adrian Marius ddac8c1789 fix test 006 for firebird driver 2011-09-12 09:56:45 +00:00
Popa Adrian Marius 8b22751c24 fixes bug #55659 adn 006 test for firebird driver 2011-09-12 09:41:02 +00:00
Popa Adrian Marius 44bdf8aab1 Replace FIELD with CONSTANT (that is the alias returned in Firebird stable 2.5.x ) 2011-07-25 13:04:22 +00:00
Popa Adrian Marius ed1d46aac4 fix ident 2011-07-25 11:41:06 +00:00
Felipe Pena 5448e9e790 - MFH: Fix tests 2009-02-09 16:44:23 +00:00
Felipe Pena b15f5357fe - Fix tests 2009-02-09 16:44:10 +00:00
Felipe Pena d5bb19938d - MFH: New parameter parsing API 2008-11-27 02:17:22 +00:00
Felipe Pena 0d181765d5 - New parameter parsing API 2008-11-27 02:16:56 +00:00
Felipe Pena 65cfb01eaa - MFH: New parameter parsing API 2008-11-23 20:01:21 +00:00
Felipe Pena 9dc4271531 - New parameter parsing API 2008-11-23 20:00:51 +00:00
Felipe Pena 02050bc6f5 - New tests 2008-11-11 17:54:11 +00:00
Felipe Pena f464bb8d05 - New tests 2008-11-11 17:52:08 +00:00
Felipe Pena 9178503610 MFH:
- Added ZEND_FETCH_RESOURCE2_NO_RETURN() (a version of ZEND_FETCH_RESOURCE2 but without the ZEND_VERIFY_RESOURCE() which contains RETURN_FALSE)
- Fixed bug #46543 (ibase_trans() memory leaks when using wrong parameters)
2008-11-11 13:28:22 +00:00
Felipe Pena 08aad5f7f7 - Added ZEND_FETCH_RESOURCE2_NO_RETURN() (a version of ZEND_FETCH_RESOURCE2 but without the ZEND_VERIFY_RESOURCE() which contains RETURN_FALSE)
- Fixed bug #46543 (ibase_trans() memory leaks when using wrong parameters)
2008-11-11 13:26:26 +00:00
Felipe Pena 493b0589e8 - Make expected result compatible with recent Firebird version 2008-11-10 22:33:53 +00:00
Felipe Pena b7d8550397 - Make expected result compatible with recent Firebird version 2008-11-10 22:33:00 +00:00
Felipe Pena 1460f722e3 - New tests 2008-11-10 18:02:56 +00:00
Felipe Pena c9765a29e8 - New tests 2008-11-10 18:01:36 +00:00
Felipe Pena e8f25c5b98 - MFH: Fixed bug #45575 (Segfault with invalid non-string as event handler callback)
patch by Christian seiler
2008-10-07 18:18:45 +00:00
Felipe Pena 359690898e - Fixed bug #45575 (Segfault with invalid non-string as event handler callback)
patch by Christian seiler
2008-10-07 18:17:44 +00:00
Felipe Pena d0ad1517f5 - MFH: Fixed bug #46247 (ibase_set_event_handler() is allowing to pass callback without event) 2008-10-07 15:28:45 +00:00
Felipe Pena a417250c99 - Fixed bug #46247 (ibase_set_event_handler() is allowing to pass callback without event) 2008-10-07 15:27:06 +00:00
Felipe Pena 8a24cfc98c - MFH: Fixed code ("Division by zero" anymore) 2008-10-07 12:51:21 +00:00
Felipe Pena 3e4ce566dd - Fixed code ("Division by zero" anymore) 2008-10-07 12:49:35 +00:00
Felipe Pena 0af1239a82 - MFH: Fixed bug #45373 (php crash on query with errors in params) 2008-10-06 14:33:34 +00:00
Felipe Pena 82eaeb6bfe - Fixed bug #45373 (php crash on query with errors in params) 2008-10-06 14:28:29 +00:00
Ard Biesheuvel ff3a363d7a Use constant IBASE_CREATE instead of just 0 2004-06-01 08:38:33 +00:00