2 ms·
PHP has value types - the one "every data structure at once" type gets deep copied when you pass it to another function. That's enough to make it a good program
by astrange 5y ago
PHP has value types - the one "every data structure at once" type gets deep copied when you pass it to another function. That's enough to make it a good programming language, whereas Python is unnecessarily 90s class-based OOP with reference types.