Short answer: no, you cannot.
Long answers: yes, if you use OOP.
Separate your functions into different files. Let's say you make a game with a hero:
Walk.php
function walk($distance,speed){
}
Die.php
function die(){
}
Hero.php
include 'Walk.php';
include 'Die.php';
class Hero(){
}
You may have other functions, such as makeWorld()what is hero.phpnot required, so you do not need to enable it. This question has been asked several times: here and here .
, , - , .