FreshPorts -- The Place For Ports If you buy from Amazon USA, please support us by using this link.
Follow us
Blog
Twitter

Port details
php-scalar_objects Support method calls on primitive types in PHP
0.0.20140124_1 devel on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: gasol.wu@gmail.com search for ports maintained by this maintainer
Port Added: 05 Feb 2014 20:04:11
License: PHP301
Add support for method calls on primitive types in PHP

This extension implements the ability to register a class that handles the
method calls to a certain primitive type (string, array, ...). As such it
allows implementing APIs like $str->length().

The main purpose of this repo is to provide a proof of concept implementation
that can be used to design the new APIs. The switch to object syntax for
operations on primitive types is a unique opportunity for PHP to redesign many
of its inconsistent core APIs. This repo provides the means to quickly
prototype and test new APIs as userland code. Once the APIs are figured out it
will be proposed for inclusion into PHP.

Note: The ability to register type handlers from userland is just for
prototyping.

WWW: https://github.com/nikic/scalar_objects
SVNWeb : Homepage : PortsMon

To install the port: cd /usr/ports/devel/php-scalar_objects/ && make install clean
To add the package: pkg install php-scalar_objects

PKGNAME: php-scalar_objects


NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. php.h : lang/php56
  2. phpize : lang/php56
  3. autoconf-2.69 : devel/autoconf
Runtime dependencies:
  1. php.h : lang/php56
There are no ports dependent upon this port

Configuration Options
     No options to configure

Master Sites:
  1. http://distcache.FreeBSD.org/ports-distfiles/
  2. https://codeload.github.com/nikic/scalar_objects/tar.gz/baf4985?dummy=/

Number of commits found: 4

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
13 Mar 2016 16:56:42
Original commit files touched by this commit  0.0.20140124_1
Revision:411002
mat search for other commits by this committer
These ports do not build with PHP 7.0, make them as such.
Also, mark those who try to use mysql, which does not exist in PHP 7.0.

Sponsored by:	Absolight
06 May 2015 15:16:54
Original commit files touched by this commit  0.0.20140124_1
Revision:385521
mat search for other commits by this committer
Update ports in the [bcd]* categories to not use GH_COMMIT.

With minor cleanups to make things simpler.

With hat:	portmgr
Sponsored by:	Absolight
16 Oct 2014 08:55:30
Original commit files touched by this commit  0.0.20140124_1
Revision:370983
ak search for other commits by this committer
- Fix various distinfo errors
- Remove unused USE_* knobs
- Fix typos in USE_* knobs
- Remove empty lines after .include <bsd.port.mk>

Approved by:	portmgr (bapt)
Differential Revision:	https://reviews.freebsd.org/D911
05 Feb 2014 20:03:02
Original commit files touched by this commit  0.0.20140124
Revision:342832
sunpoet search for other commits by this committer
- Add php-scalar_objects 0.0.20140124

Add support for method calls on primitive types in PHP

This extension implements the ability to register a class that handles the
method calls to a certain primitive type (string, array, ...). As such it
allows implementing APIs like $str->length().

The main purpose of this repo is to provide a proof of concept implementation
that can be used to design the new APIs. The switch to object syntax for
operations on primitive types is a unique opportunity for PHP to redesign many
of its inconsistent core APIs. This repo provides the means to quickly
prototype and test new APIs as userland code. Once the APIs are figured out it
will be proposed for inclusion into PHP.

Note: The ability to register type handlers from userland is just for
prototyping.

WWW: https://github.com/nikic/scalar_objects

PR:		ports/186221
Submitted by:	Gasol Wu <gasol.wu@gmail.com>

Number of commits found: 4

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
mediawiki123May 24
mediawiki124May 24
mediawiki125May 24
mediawiki126May 24
expat2May 20
wpa_supplicantMay 20
bugzilla44May 17
bugzilla50May 17
openvpnMay 14
openvpn-polarsslMay 14
ImageMagickMay 13
ImageMagick-nox11May 13
ImageMagick7May 13
ImageMagick7-nox11May 13
jenkinsMay 12

10 vulnerabilities affecting 29 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 26060
Broken 286
Deprecated 61
Ignore 551
Forbidden 0
Restricted 202
No CDROM 85
Vulnerable 53
Expired 19
Set to expire 49
Interactive 0
new 24 hours 2
new 48 hours6
new 7 days25
new fortnight67
new month111

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2014 Dan Langille. All rights reserved.