summaryrefslogtreecommitdiff
path: root/tests/lang/operators/bitwiseShiftLeft_variationStr2.phpt
blob: 09949c56b00cdbfabe98fb8d584be2ae8fa2b1f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--TEST--
Test << operator : numbers as strings, simple
--FILE--
<?php

error_reporting(E_ERROR);

var_dump("12" << "0");
var_dump("34" << "1");
var_dump("56" << "2");

?>
===DONE===
--EXPECT--
int(12)
int(68)
int(224)
===DONE===