Jump to content

[SOLVED] PHP Arguments


Garethp

Recommended Posts

I'm just starting to make classes, and when I learned a bit of Python I learned that you could pass arguements that had to be called specifically like

 

dosomefunction(value1='', value3='', value2='')

 

So it didn't matter what order you put them in. Can you do something similar in PHP?

Link to comment
https://forums.phpfreaks.com/topic/170777-solved-php-arguments/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.