Squashed 'lib/vscode/' content from commit e5a624b788
git-subtree-dir: lib/vscode git-subtree-split: e5a624b788d92b8d34d1392e4c4d9789406efe8f
This commit is contained in:
9
extensions/php/test/colorize-fixtures/issue-28354.php
Normal file
9
extensions/php/test/colorize-fixtures/issue-28354.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<script>
|
||||
...
|
||||
<?php
|
||||
foreach($actID AS $act) {
|
||||
echo 'divNames.push(\'[nid='.$act.']\');';
|
||||
}
|
||||
?>
|
||||
...
|
||||
</script>
|
||||
1
extensions/php/test/colorize-fixtures/issue-76997.php
Normal file
1
extensions/php/test/colorize-fixtures/issue-76997.php
Normal file
@@ -0,0 +1 @@
|
||||
<hello></hello>
|
||||
48
extensions/php/test/colorize-fixtures/test.php
Normal file
48
extensions/php/test/colorize-fixtures/test.php
Normal file
@@ -0,0 +1,48 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Example page</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<?php
|
||||
function functionName(){
|
||||
|
||||
// Code to be executed
|
||||
}
|
||||
/* Example PHP file
|
||||
multiline comment
|
||||
*/
|
||||
|
||||
$cards = array("ah", "ac", "ad", "as",
|
||||
"2h", "2c", "2d", "2s");
|
||||
|
||||
srand(time());
|
||||
|
||||
for($i = 0; $i < 52; $i++) {
|
||||
$count = count($cards);
|
||||
$random = (rand()%$count);
|
||||
|
||||
if($cards[$random] == "") {
|
||||
$i--;
|
||||
} else {
|
||||
$deck[] = $cards[$random];
|
||||
$cards[$random] = "";
|
||||
}
|
||||
}
|
||||
srand(time());
|
||||
$starting_point = (rand()%51);
|
||||
print("Starting point for cut cards is: $starting_point<p>");
|
||||
|
||||
// display shuffled cards (EXAMPLE ONLY)
|
||||
for ($index = 0; $index < 52; $index++) {
|
||||
if ($starting_point == 52) { $starting_point = 0; }
|
||||
print("Uncut Point: <strong>$deck[$index]</strong> ");
|
||||
$starting_point++;
|
||||
}
|
||||
|
||||
function foo bar(){}
|
||||
?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user