mirror of
https://github.com/php/php-src.git
synced 2024-12-15 12:54:57 +08:00
22 lines
187 B
PHP
22 lines
187 B
PHP
--TEST--
|
|
Use of __LINE__ in arrays
|
|
--FILE--
|
|
<?php
|
|
|
|
var_dump([
|
|
__LINE__,
|
|
__LINE__,
|
|
__LINE__,
|
|
]);
|
|
|
|
?>
|
|
--EXPECT--
|
|
array(3) {
|
|
[0]=>
|
|
int(4)
|
|
[1]=>
|
|
int(5)
|
|
[2]=>
|
|
int(6)
|
|
}
|