mirror of
https://github.com/php/php-src.git
synced 2026-03-31 04:32:19 +02:00
11 lines
244 B
PHP
11 lines
244 B
PHP
--TEST--
|
|
Ensures null is returned if versions are compared with invalid operator
|
|
--CREDITS--
|
|
David Stockton - <dave@davidstockton.com> - i3logix PHP Testfest 2017
|
|
--FILE--
|
|
<?php
|
|
var_dump(version_compare('1.2', '2.1', '??'));
|
|
?>
|
|
--EXPECT--
|
|
NULL
|