Judson
Judson

Reputation: 2325

Check which php functions will work in a specific php version

At least this shows I'm not afraid to look stupid. Here it goes: At some point while writing my php project, I determined that it would need php verion 5.2 to work properly. I didn't document why. Now, a user is asking me what will break if they run my app on 5.1 and I simply can't remember.

Is there any automated way to check which functions will fail using 5.1. I looked at PHP_CodeSniffer, but I'm not sure that will do what I want. Any thoughts?

Upvotes: 0

Views: 269

Answers (1)

Sebass van Boxel
Sebass van Boxel

Reputation: 2612

You can test certain functions with 3v4l.org. This supports multiple php-versions where you can test your functions in.

Upvotes: 1

Related Questions