diff --git a/NEWS b/NEWS index ef29b00f8f6..3984a5949a0 100644 --- a/NEWS +++ b/NEWS @@ -5,6 +5,7 @@ PHP NEWS - Core: . Fixed bug #74780 (parse_url() borken when query string contains colon). (jhdxr) + . Fixed bug #74761 (Unary operator expected error on some systems). (petk) - SPL: . Fixed bug #73471 (PHP freezes with AppendIterator). (jhdxr) diff --git a/acinclude.m4 b/acinclude.m4 index 07ae363f656..ff814fb0596 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -2676,7 +2676,7 @@ EOF done echo "'[$]0' \\" >> $1 - if test `expr -- [$]0 : "'.*"` = 0; then + if test `expr " [$]0" : " '.*"` = 0; then CONFIGURE_COMMAND="$CONFIGURE_COMMAND '[$]0'" else CONFIGURE_COMMAND="$CONFIGURE_COMMAND [$]0"