1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 16:38:25 +02:00
Files
archived-php-src/Zend/tests/or_001.phpt
T
Antony Dovgal c3b9d939e0 add new tests
2007-04-28 11:59:08 +00:00

30 lines
327 B
PHP

--TEST--
bitwise OR and strings
--FILE--
<?php
$s = "323423";
$s1 = "2323.555";
var_dump($s | $s1);
var_dump($s1 | $s);
$s = "some";
$s1 = "test";
var_dump($s | $s1);
$s = "some";
$s |= "test";
var_dump($s);
echo "Done\n";
?>
--EXPECTF--
string(8) "3337>755"
string(8) "3337>755"
string(4) "wou"
string(4) "wou"
Done