Skip to content

Commit f968435

Browse files
author
yangcunfeng
committed
<?php
1 parent 263ebd8 commit f968435

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

linkedList.php

Whitespace-only changes.

splFixedArray.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
$len = 10;
3+
$array = new SplFixedArray($len);
4+
$arr = array();
5+
$arr["id"] = 1;
6+
for($i=0;$i<$len;$i++){
7+
$array[$i] = $arr;
8+
}
9+
var_dump($array);
10+
?>

0 commit comments

Comments
 (0)