Skip to content

Commit 8ceb905

Browse files
committed
Add PhpVersion::supportsBcMathNumberOperatorOverloading()
1 parent d1b3ef8 commit 8ceb905

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Php/PhpVersion.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,4 +375,9 @@ public function substrReturnFalseInsteadOfEmptyString(): bool
375375
return $this->versionId < 80000;
376376
}
377377

378+
public function supportsBcMathNumberOperatorOverloading(): bool
379+
{
380+
return $this->versionId >= 80400;
381+
}
382+
378383
}

0 commit comments

Comments
 (0)