projects
/
m6w6
/
ext-psi
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
PHP 8 compatibility
[m6w6/ext-psi]
/
tests
/
arpa_inet
/
ntoh001.phpt
1
--TEST--
2
arpa/inet
3
--INI--
4
psi.directory={PWD}/../../psi.d:{PWD}
5
--FILE--
6
===TEST===
7
<?php
8
var_dump(psi\htons(psi\ntohs(55)));
9
var_dump(psi\htonl(psi\ntohl(555555)));
10
var_dump(psi\ntohs(psi\htons(14080)));
11
var_dump(psi\ntohl(psi\htonl(595200000)));
12
?>
13
===DONE===
14
--EXPECT--
15
===TEST===
16
int(55)
17
int(555555)
18
int(14080)
19
int(595200000)
20
===DONE===