Skip to content

Conversation

@pocketarc
Copy link
Contributor

As mentioned in PR #43 there was another warning, when the int being read was a string, and not just a float (which is what #43 fixed). Additionally, the fix uses PHP_INT_MIN, which I didn't realise only exists in PHP 7. I didn't notice it because I'm running it, but I did when I tested in other versions of PHP.

PhenX added a commit that referenced this pull request Feb 14, 2016
Fixes "strftime() expects parameter 2 to be integer, string given" PHP Warning, and PHP <7 compatibility issue.
@PhenX PhenX merged commit f6d1257 into dompdf:master Feb 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants