We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cf9710 commit 9e56502Copy full SHA for 9e56502
build/Makefile.global
@@ -142,8 +142,15 @@ prof-clean:
142
prof-use:
143
CCACHE_DISABLE=1 $(MAKE) PROF_FLAGS=-fprofile-use all
144
145
+# olny php above 7.1.0 supports nullable return type
146
%_arginfo.h: %.stub.php
- if type php >/dev/null 2>/dev/null; then php $(top_srcdir)/scripts/dev/gen_stub.php $<; fi
147
+ -@if type php >/dev/null 2>/dev/null; \
148
+ then \
149
+ if test `php -v | head -n1 | cut -d" " -f 2 | sed "s/$$/\n7.0.99/" | sort -rV | head -n1` != "7.0.99"; \
150
151
+ php $(top_srcdir)/scripts/dev/gen_stub.php $<; \
152
+ fi; \
153
+ fi;
154
155
# As we don't track includes, this is just a heuristic
156
%.c: %_arginfo.h
0 commit comments