PHP Classes
PHP Classes
elePHPant
Icontem

Notable PHP package: Encase PHP Functional Programming

Recommend this page to a friend!
  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)  

Author:

Updated on: 2019-07-24

Posted on:

Categories: Notable Packages

Objects are useful to gather common behavior inside the same container which is a class.

To access access functions and variables of PHP inside a class you need to use the $this operator.

This package provides means to call the current class functions without using the $this operator, thus requiring you to type less code to call a function.

Read this article to learn more details about how this notable PHP package works.


 



The package Encase PHP Functional Programming is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.

The basic purpose is: Make functions work as if they are class functions

Here follows in more detail what it does:

This package can make functions work as if they are class functions.

It provides a trait that when used inside a class it can make any functions that otherwise look like global functions, be used to call the current class functions.

The package provides other features like support for functional programming in PHP like in JavaScript and boxing of regular data types that are wrapped as class of objects.

Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.

If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package.



You need to be a registered user or login to post a comment

1,533,025 PHP developers registered to the PHP Classes site.
Be One of Us!

Login Immediately with your account on:

FacebookGmail
HotmailStackOverflow
GitHubYahoo


Comments:

No comments were submitted yet.




  Blog PHP Classes blog   RSS 1.0 feed RSS 2.0 feed   Blog Notable PHP package: ...   Post a comment Post a comment   See comments See comments (0)   Trackbacks (0)