The strict extension introduces support for strict scalar parameter type hints
without changing Zend. Support for the following types is introduced: * string * integer, int * float, double * boolean, bool * resource Variadic support for all of the above types is also included. WWW: http://pecl.php.net/package/strict PR: 195425 Submitted by: Gasol Wu <gasol.wu@gmail.com>
This commit is contained in:
parent
a19c8cb6c5
commit
0570c0106c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374671
@ -3428,6 +3428,7 @@
|
||||
SUBDIR += pecl-spl_types
|
||||
SUBDIR += pecl-spread
|
||||
SUBDIR += pecl-statgrab
|
||||
SUBDIR += pecl-strict
|
||||
SUBDIR += pecl-svn
|
||||
SUBDIR += pecl-swoole
|
||||
SUBDIR += pecl-sync
|
||||
|
20
devel/pecl-strict/Makefile
Normal file
20
devel/pecl-strict/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
# Created by: Gasol Wu <gasol.wu@gmail.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= strict
|
||||
PORTVERSION= 0.4.0
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://pecl.php.net/get/
|
||||
PKGNAMEPREFIX= pecl-
|
||||
DIST_SUBDIR= PECL
|
||||
|
||||
MAINTAINER= gasol.wu@gmail.com
|
||||
COMMENT= Strict scalar parameter type hint support for 5.4+
|
||||
|
||||
LICENSE= PHP301
|
||||
|
||||
USES= tar:tgz
|
||||
USE_PHP= yes
|
||||
USE_PHPEXT= yes
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/pecl-strict/distinfo
Normal file
2
devel/pecl-strict/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (PECL/strict-0.4.0.tgz) = 20898660c8f9220dcc9e0b0793966743b1f28440b0cc79c269001a10b8d5a0fa
|
||||
SIZE (PECL/strict-0.4.0.tgz) = 10157
|
12
devel/pecl-strict/pkg-descr
Normal file
12
devel/pecl-strict/pkg-descr
Normal file
@ -0,0 +1,12 @@
|
||||
The strict extension introduces support for strict scalar parameter type hints
|
||||
without changing Zend. Support for the following types is introduced:
|
||||
|
||||
* string
|
||||
* integer, int
|
||||
* float, double
|
||||
* boolean, bool
|
||||
* resource
|
||||
|
||||
Variadic support for all of the above types is also included.
|
||||
|
||||
WWW: http://pecl.php.net/package/strict
|
Loading…
Reference in New Issue
Block a user