Home  >  Article  >  Backend Development  >  About PHP's standard input About Lei Feng's handwritten newspaper About the Spring Festival's handwritten newspaper About the Spring Festival

About PHP's standard input About Lei Feng's handwritten newspaper About the Spring Festival's handwritten newspaper About the Spring Festival

WBOY
WBOYOriginal
2016-07-29 08:55:001232browse

I have been using c++ and Python to do the questions before, but suddenly I used PHP to do the questions. As a result, after I wrote the method, I found that I couldn’t input it, which really screwed me up (I have no regrets). . .

For the record, I am also a man who can type in PHP (proud face)

<code><span>// 一行输入,换行结束</span><span>$r</span> = fgets(STDIN);
<span>// 输入的前5个字符</span><span>$e</span> = <span>fread</span>(STDIN, <span>5</span>);
<span>// 一个字符</span><span>$s</span> = fgetc(STDIN);</code>
').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above introduces the standard input of PHP, including php, and other aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn