Comments (2)
Since PHP 7.0, some internal function replaced by opcodes, which are executed much faster. To make it work them need to be prefixed by \
or declared in section use
.
List of such functions:
array_slice
assert
boolval
call_user_func
call_user_func_array
chr
constant
count
define
defined
dirname
doubleval
extension_loaded
floatval
func_get_args
func_num_args
function_exists
get_called_class
get_class
gettype
in_array
intval
is_array
is_bool
is_callable
is_double
is_float
is_int
is_integer
is_long
is_null
is_object
is_real
is_resource
is_string
ord
strlen
strval
from event-dispatcher.
I thought there might be some reason, but was googling the wrong things. :-)
Thanks!
from event-dispatcher.
Related Issues (16)
- Consider being able to explicitly register for a given event name HOT 5
- Document composite dispatcher
- Why does attach function of Provider become protected? HOT 19
- Consider introducing cache HOT 2
- Why cloning ListenerCollection every time when adding a new listener? HOT 3
- Consider adding EventTrait HOT 1
- Typehint callable in `getParameterType()`
- Use fromCallable HOT 10
- getListenersForEvent: current implementation vs instanceof HOT 2
- possible bug with PHP8 and Union type-hint HOT 1
- Improve exception message in `ListenerCollection::add()` HOT 1
- Consider introducing deferred event provider HOT 15
- Add Priorities on events' handlers HOT 7
- Rename ListenerCollection::add HOT 2
- Allow use only class and interface as listener parameter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from event-dispatcher.