Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3f72b28

Browse files
author
Edward Z. Yang ext:(%22)
committed
Add simple parse script for profiling purposes.
1 parentb95d51c commit3f72b28

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎bin/html5-parse.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
require_oncedirname(__FILE__) .'/../library/HTML5/Parser.php';
3+
$argv =$_SERVER['argv'];
4+
if (!isset($argv[1])) {
5+
$file ='php://stdin';
6+
}else {
7+
$file =$argv[1];
8+
}
9+
$result = HTML5_Parser::parse(file_get_contents($file));
10+
// nop

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp