Permalink
Browse files

Redesigned ext_skel to be written entirely in PHP with no dependencie…

…s, this means it will now run on Windows without Cygwin and other nonsense.

It no longer includes a way to generate XML documentation (the PHP documentation utilities already got tools for that in svn under phpdoc/doc-base) and it no longer support function stubs.

$ php ext_skel.php --help
php ext_skel.php --ext=<name> [--experimental] [--author=<name>]
                 [--dir=<path>] [--std] [--onlyunix]
                 [--onlywindows] [--help]

  --ext=<name>          The name of the extension defined as <name>
  --experimental        Passed if this extension is experimental, this creates
                        the EXPERIMENTAL file in the root of the extension
  --author=<name>       Your name, this is used if --header is passed and
                        for the CREDITS file
  --dir=<path>          Path to the directory for where extension should be
                        created. Defaults to the directory of where this script
                        lives
  --std                 If passed, the standard header and vim rules footer used

                        in extensions that is included in the core, will be used

  --onlyunix            Only generate configure scripts for Unix
  --onlywindows         Only generate configure scripts for Windows
  --help                This help

Example usage:
$ php ext_skel.php --ext test --std --experimental
$ php ext_skel.php --ext kalle --author "Kalle Sommer Nielsen"
$ php ext_skel.php --ext phpfi --dir "/home/kalle/dev/" --onlyunix
  • Loading branch information...
KalleZ committed Jul 23, 2017
1 parent b67d6fd commit f35f45906eac34498c7720326fb9da9fde960871
14 NEWS
@@ -2,14 +2,20 @@ PHP NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ??? ????, PHP 7.3.0alpha1
- Session:
. Fixed bug #74941 (session fails to start after having headers sent).
(morozov)
- Core:
. Redesigned the old ext_skel program written in PHP, run:
'php ext_skel.php' for all options. This means there is no dependencies
thrus making it work on Windows out of the box. (Kalle)
- LDAP:
. Added ldap_exop_refresh helper for EXOP REFRESH operation with dds overlay
. Added ldap_exop_refresh helper for EXOP REFRESH operation with dds overlay.
(C�me)

This comment has been minimized.

@staabm

staabm Jul 23, 2017

Contributor

Bad char?

This comment has been minimized.

@KalleZ

KalleZ Jul 23, 2017

Contributor

@staabm thanks, fixed, or well hacked =)

- ODBC:
. Removed support for Birdstep. (Kalle)
- Session:
. Fixed bug #74941 (session fails to start after having headers sent).
(morozov)
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
@@ -19,6 +19,11 @@ PHP 7.3 UPGRADE NOTES
1. Backward Incompatible Changes
========================================
Core:
. The ext_skel utility has been completely redesigned with new options and
some old options removed. This is now written in PHP and have no external
dependencies.
========================================
2. New Features
========================================

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit f35f459

Please sign in to comment.