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:
Pawel Pekala 2014-12-13 18:37:33 +00:00
parent a19c8cb6c5
commit 0570c0106c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=374671
4 changed files with 35 additions and 0 deletions

View File

@ -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

View 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>

View File

@ -0,0 +1,2 @@
SHA256 (PECL/strict-0.4.0.tgz) = 20898660c8f9220dcc9e0b0793966743b1f28440b0cc79c269001a10b8d5a0fa
SIZE (PECL/strict-0.4.0.tgz) = 10157

View 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