Anthoo,
il y a 11 ans
Les fonctions natives sont écrites en C et dispo sur Github : https://github.com/php/php-src/tree/master/ext/standard. Un peu de doc pour commencer à piger comment c'est fait : https://nikic.github.io/2012/03/16/Understanding-PHPs-internal-function-definitions.html.