1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 15:08:16 +02:00
Commit Graph

59 Commits

Author SHA1 Message Date
Richard Fussenegger 35cb353dd5 [ci skip] Extended class naming rule 2018-08-06 13:31:02 +02:00
Peter Kokot b1ffdd6fbc Update coding standards
Mentioned PHP versions indicate that there is a progress to make code
fully follow the coding standards which is not exactly the real case.
This patch changes few oudated used PHP versions in intro paragraph
and mentions the PHP documentation repository in more abstract way.

[ci skip]
2017-12-09 19:10:51 +01:00
Aleš Rebec f469edcf59 Remove obsolete function names from CODING_STANDARDS file
Deprecated and removed function names used as examples in coding standards file.

- Mcrypt is deprecated and will be removed in 7.2
- Mysql functions are deprecated in 5.4 and removed in 7.0.

According to those changes, CODING_STANDARDS file should be updated.
2017-07-25 07:04:23 +01:00
Torben Köhn abac7e81dd Update CODING_STANDARDS
Fixed a small typo
2016-05-18 17:45:12 +02:00
Tom Van Looy 6d0dec27fa Remove leftovers of TSRMLS in docs 2015-12-25 11:13:28 +01:00
Nikhil Vimal 52725009c7 Small Spacing adjustments for better reading 2015-02-07 10:30:07 -06:00
Archil Imnadze 2d2bac2e4c Update CODING_STANDARDS 2014-09-08 13:13:34 +04:00
Stanislav Malyshev 223a62d69e Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  Fix English and improve by Stas. Thanks :)
  Update source docs
  Revert "Update source docs"
  Update source docs

Conflicts:
	README.EXTENSIONS
2014-01-26 17:21:14 -08:00
Yasuo Ohgaki d65ddb633d Fix English and improve by Stas. Thanks :) 2014-01-26 17:20:13 -08:00
Yasuo Ohgaki f496aac1f6 Update source docs 2014-01-26 17:20:12 -08:00
Yasuo Ohgaki 76c098395d Revert "Update source docs"
This reverts commit 10d06cd4ff.
2014-01-26 17:20:12 -08:00
Yasuo Ohgaki 60bcf84dda Update source docs 2014-01-26 17:20:12 -08:00
Anatol Belski 904721189f Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5:
  fixed parameter order for zend_throw_exception_ex call
  Fix doc (svn -> git)
2013-12-14 20:47:37 +01:00
DQNEO 1b3e2c299d Fix doc (svn -> git) 2013-12-13 23:20:37 +02:00
Michael Wallner 29d5ff75d5 Merge branch 'PHP-5.5'
* PHP-5.5:
  Fixed segfault when built with OpenSSL >= 1.0.1
  fixing a minor typo in CODING_STANDARDS document
  FIX BUG #65219 - Typo correction
  FIX BUG #65219 - USE DB not being sent for FreeTDS version < 0.92 FreeTDS <0.92 does not support DBSETLDBNAME option and therefore will not work with SQL Azure. Fallback to dbuse command in letter versions.
2013-10-09 09:18:29 +02:00
ArunSK b5a0f12871 fixing a minor typo in CODING_STANDARDS document 2013-10-07 00:26:49 +02:00
Johannes Schlüter 7daf1a6c14 Mention git and suggest PECL for new things 2013-07-19 22:05:52 +02:00
Adam Harvey f66642aae1 Fix doc bug #63032 (Number of release in documentation).
Also add a bonus grammar fix.
2012-09-10 10:05:15 +08:00
Rasmus Lerdorf 4fdd6bacb7 Multi-branch test commit to see if email notifications are working 2009-07-17 04:26:33 +00:00
Rasmus Lerdorf 5e118fdc1a cvs->svn 2009-07-13 19:16:13 +00:00
Lukas Smith 53c7b1c2e9 - MFH 2007-11-24 13:55:27 +00:00
Lukas Smith 9e21859909 - MFH typo fix by Jon 2007-11-11 22:12:06 +00:00
Lukas Smith d7b921c02b - MFH 2007-11-11 16:30:35 +00:00
Ilia Alshanetsky 7966ff120b Fixed typo 2007-07-18 23:10:33 +00:00
Marcus Boerger 3515689363 \# Damn ! 2005-12-22 20:27:11 +00:00
Marcus Boerger 8c4d236546 - MFH Point to README.TESTING 2005-12-22 20:24:46 +00:00
Marcus Boerger 9aebeaaf09 - MFH Synch with what we decided for 5 and what we are practicing since 5 2005-11-27 11:06:07 +00:00
Wez Furlong 356e8f9b7d word fix 2004-01-30 10:15:24 +00:00
Marcus Boerger bfed0430fa Include Sascha's indendation hint 2004-01-30 07:53:12 +00:00
Marcus Boerger 9a3355608d Newer compilers don't need this so many people don't know. Hence we make
it a coding standard.
2004-01-30 07:01:25 +00:00
Sebastian Bergmann 29fa2036ef Update URL. 2004-01-26 12:37:48 +00:00
Marcus Boerger 2a8300e03d All technical reasons that prevented us from studlyCaps are solved
and all current extensions as well as the whole PEAR framework follow
this rule. So for consistency i readd it.
# Also we had the discussion onece and decided for this.
# Lookup the archieves
2004-01-21 20:18:09 +00:00
Derick Rethans 61e8ab4e8d - I am sure I reverted this before 2003-12-03 09:12:38 +00:00
Derick Rethans b94bd055ee - Update codinf standards with the posted RFC (results from PEAR Meeting) 2003-05-23 10:38:43 +00:00
Sterling Hughes a0729141e0 both these entries are bad, and were never agreed upon.
assert() usage is a controversial concept at best.
docref() is something quite a few of us strong disagree with.  suspending
this until further discussion.
2003-04-04 17:01:09 +00:00
Marcus Boerger 6c132995bb rewrite paragraph 9
No instances yet. And it does not work with #if 0_FOO but with #if FOO_0
2002-10-29 20:25:09 +00:00
Jon Parise e79772d6e0 Adding a new item (number 11) that explains why it's important to use
emalloc() and friends in place of the standard C library functions.
2002-10-10 17:03:49 +00:00
Derick Rethans 612d5b99bc - spaces instead of tabs 2002-09-09 07:54:11 +00:00
Derick Rethans 8e7147a1cb - Use PHP_ instead of ZEND_ 2002-09-09 07:52:39 +00:00
Jon Parise d6b4462a80 Reword item 10 for greater clarity. 2002-09-08 23:00:31 +00:00
Yasuo Ohgaki ab0da7dc33 It seems we're better to mention about missing functions.
PHP_FUNCTION -> ZEND_FUNCTION
2002-09-08 22:38:57 +00:00
Marcus Boerger 6ce08f7382 fix examples
#did i write those? shame on me for not knowing my own functions
2002-08-22 14:04:01 +00:00
Dan Kalowsky 2e6d771139 As per the suggestion on php-dev, now please #ifdef 0_<username here> 2002-08-13 21:44:59 +00:00
Marcus Boerger 0a845714b7 -better use external example
-say NULL is intended
-correct example
#hope this is a bit easier to understand and clears it a bit
2002-08-13 20:55:42 +00:00
Marcus Boerger 6d10159eac comments & php_error_docref 2002-08-13 09:42:51 +00:00
Markus Fischer 652baa710e - Add note how php_error() messages SHOULD (rfc2119) look like. 2002-08-08 11:22:18 +00:00
Yasuo Ohgaki 69d6f1e3f5 Added README.SUBMITTING_PATCH file. Please fix/add/change.
Added more description for use of assert().
2002-03-19 09:13:45 +00:00
Sean Bright 86dba965b1 Translate to English.
# I still don't know what a 'tag search' is...
2002-03-14 03:25:46 +00:00
Yasuo Ohgaki cbc1cd802c Include/enable assert.h/assert() when it is available 2002-03-14 02:17:23 +00:00
Yasuo Ohgaki a0c2defe8e Recommend ZEND_* macro over PHP_* macro as discussed in php-dev. 2002-02-28 06:31:09 +00:00