Skip to content

Commit 7d8fd08

Browse files
author
Julien Pauli
committed
Precision about PHP versionning
1 parent 155f810 commit 7d8fd08

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Book/php7/build_system/building_extensions.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ particular case you still need to use ``--re``. Other Zend extensions make their
226226
though.
227227

228228
Extensions API compatibility
229-
****************************
229+
----------------------------
230230

231231
Extensions are very sensitive to 5 major factors. If they dont fit, the extension wont load into PHP and will be
232232
useless:
@@ -357,3 +357,8 @@ We authors, use something like this in extensions of ours::
357357
#endif
358358
359359
See ?
360+
361+
Or, simpler (so better ?) is to use PHP_VERSION_ID which you are probably much more familiar about::
362+
363+
#if PHP_VERSION_ID >= 50600
364+

0 commit comments

Comments
 (0)