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.
or
1 parent bb5749d commit ca93300Copy full SHA for ca93300
src/JsPhpize/Compiler/Helpers/Or.ref.h
@@ -0,0 +1,9 @@
1
+function (&$base) {
2
+ foreach (array_slice(func_get_args(), 1) as $value) {
3
+ if (!$base) {
4
+ $base = $value();
5
+ }
6
7
+
8
+ return $base;
9
+}
0 commit comments