承接 baha2rmirzazadeh/phpscanner 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

baha2rmirzazadeh/phpscanner

Composer 安装命令:

composer require baha2rmirzazadeh/phpscanner

包简介

A php library to handle input stream. It inspired from Java Scanner class.

README 文档

README

This library contains efficient classes and methods to work with input stream data for example: get numbers and strings from input stream(keyboard), also have some features for open and read files.

This library inspired from Scanner class in Java.

Features

Get input stream as integer, float, string etc. Also it provide some methods to open and read files.

You can find more information in documentation.

Installation

Use [Composer] to install this package:

$ composer require baha2rmirzazadeh/phpscanner

Example

use PHPScanner\Scanner\Scanner;

$scn = new Scanner();
$a = $scn->nextString();
print $a;

$m = $scn->nextFloat();
print $m;

$a = array();
for ($i = 0; $i < 3; $i++) {
    $a[$i] = $scn->nextInt();
}
print_r($a);

$file_reader = new Scanner("C:\Users\Baha2r\Desktop\A.txt");
$file = "";
while ($file_reader->hasNext()) {
    $file .= $file_reader->nextLine();
}
$file_reader->close();
print $file;
echo "\n";

Classes and Methods description

All of classes and methods have documentation, you can read them and figure out how they work

Authors

License

All contents of this package library are licensed under the [MIT license].

统计信息

  • 总下载量: 79
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 5
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-10-02

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固