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

distinfo:

SHA256 (nikic-scalar_objects-0.0.20140124-baf4985_GH0.tar.gz) = 6f90ceb71e851b51ae391025624ab26b191798ad28c4717645dc345f93b4e4df
SIZE (nikic-scalar_objects-0.0.20140124-baf4985_GH0.tar.gz) = 35114


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

Build dependencies:
  1. phpize : lang/php56
  2. 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

USES:
php:ext

Master Sites:
  1. https://codeload.github.com/nikic/scalar_objects/tar.gz/baf4985?dummy=/

Number of commits found: 6

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
03 Aug 2016 12:47:05
Original commit files touched by this commit  0.0.20140124_2
Revision:419514
mat search for other commits by this committer
Don't use extension.ini any more, and have each extension install in its
file, so the order remains the same.

Every PHP (or Zend) extension now installs its own .ini file in
/usr/local/etc/php.  A PHP extension will be automatically activated
when installed.  The order into which extensions are loaded is
automatically guessed.  In some very rare cases, the guess will be
wrong, and PHP_MOD_PRIO will need to be set.  Refer to the USES=php
section of the Porter's Handbook for more information.

Convert ports touching etc/php/extensions.ini manually, or telling the
OP to do it.

And finally, bump PORTREVISION for all php extensions.

PR:		210697
Submitted by:	mat
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D7022
28 Jun 2016 14:00:45
Original commit files touched by this commit  0.0.20140124_1
Revision:417719
mat search for other commits by this committer
Convert USE_PHP*=yes into USES=php*

PR:		210529
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D6936
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: 6

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
kdelibs4Aug 27
eogAug 22
p5-PathTools*Aug 22
p5-XSLoader*Aug 22
perl5-devel*Aug 22
perl5-devel*Aug 22
perl5-devel*Aug 22
perl5.18*Aug 22
perl5.18*Aug 22
perl5.18*Aug 22
perl5.20*Aug 22
perl5.20*Aug 22
perl5.20*Aug 22
perl5.20*Aug 22
perl5.22*Aug 22

11 vulnerabilities affecting 47 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 26183
Broken 93
Deprecated 144
Ignore 362
Forbidden 0
Restricted 199
No CDROM 83
Vulnerable 65
Expired 16
Set to expire 130
Interactive 0
new 24 hours 5
new 48 hours7
new 7 days30
new fortnight48
new month117

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