Can the function of php be changed by itself?

for example, can the function var_dump, change the implementation of this function itself? Or do you have to write your own extension functions?

Php
Mar.21,2022

can be changed. Find the corresponding source code, modify it, and then install it (that is, configure,make,make install)


there are two functions that can redefine the function, but install the corresponding extension

in fact, it is not recommended to redefine the function. It is easy to affect the code that depends on the modified function. If you want to use special functions, you can implement it yourself or use an external package

.

Yes, change the source code, or you can define a function you want.


are you talking about the function of PHP or the function of framework?
if it is framed, it can be changed.
if it belongs to PHP itself, you may want to learn C

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3e708-2c3f7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3e708-2c3f7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?