Skip to content
Advertisement

Tag: version

How can I display multiple lines of version.php?

I’m new to PHP code and am trying to find a way to display 3 lines from the version.php file within WordPress without having to download the file; look into it and move on – this is what I have come up with so far, but does not seem to be working. I’m sure I’m doing something wrong here and

Run test in phpunit with specific php version

I have installed multiple PHP versions on my Mac and want to run unit-tests against a specific PHP version (or against multipls versions) Here’s the php versions I have: My test case looks like this: When I run the test I get this response: How can I run the tests with the php version 5.2.17? Update: I discover that PHPUnit

Advertisement