summaryrefslogtreecommitdiff
path: root/ext/standard/tests/math/hexdec_variation2.phpt
blob: 81ebae5c3f0b1a5e999d979c63d7278e1337ea01 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
Test hexdec() function : strange literals
--FILE--
<?php

var_dump(hexdec('0x'));
var_dump(hexdec('0X'));
var_dump(hexdec(''));

?>
--EXPECT--
int(0)
int(0)
int(0)