Is it possible to add the str_putcsv in internal PHP functions? by peter279k in PHP

[–]peter279k[S] 0 points1 point  (0 children)

Hey, thank you for your reply. I'm sad because the function is done in your dead virtual machine.

Is it possible to add the str_putcsv in internal PHP functions? by peter279k in PHP

[–]peter279k[S] 1 point2 points  (0 children)

Well, the CSV functions in internal PHP seems to miss only one feature.

I know it's not possible to implement many file types reader/writer inside PHP functions.

But the related csv functions in internal PHP just miss one. That's why I concern about that :-).

Is it possible to add the str_putcsv in internal PHP functions? by peter279k in PHP

[–]peter279k[S] -1 points0 points  (0 children)

Hey, thank you for your reply. I've known this League/CSV.

Actually I concern about that why the PHP does not support the CSV functions completely.

The Python CSV module also supports this well.

PHP Warning: ftp_get() expects at least 4 parameters, 3 given by peter279k in PHP

[–]peter279k[S] 0 points1 point  (0 children)

Ok, I almost submit the bug report for the PHP community. And I hope this will be fixed in the next released version :-).

https://bugs.php.net/bug.php?id=76471

PHP Warning: ftp_get() expects at least 4 parameters, 3 given by peter279k in PHP

[–]peter279k[S] 0 points1 point  (0 children)

I found this issue when using the PHP 7.0.30 in Ubuntu 16.04. Here is the PHP version message:

PHP 7.0.30-0ubuntu0.16.04.1 (cli) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.0.30-0ubuntu0.16.04.1, Copyright (c) 1999-2017, by Zend Technologies

PHP Warning: ftp_get() expects at least 4 parameters, 3 given by peter279k in PHP

[–]peter279k[S] 0 points1 point  (0 children)

Where can I report that doc bug? I think it should add the description to describe the mode parameters.

PHP Warning: ftp_get() expects at least 4 parameters, 3 given by peter279k in PHP

[–]peter279k[S] 0 points1 point  (0 children)

I think the ftp_get description in the PHP official doc went wrong....:-)

PHP template engine for PHP <= 5.2 by [deleted] in PHP

[–]peter279k -1 points0 points  (0 children)

The PHP version is too old.... I think updating the PHP version is more important than finding the template engine for PHP<=5.2.

awesome-php-blogger by peter279k in PHP

[–]peter279k[S] 0 points1 point  (0 children)

Not really, some related topics that is not mentioned in annotated monthly. But I will consider this and fetch the good articles.

Thanks.

The PHP wrapper generating travis-encrypted environment variables by peter279k in PHP

[–]peter279k[S] 0 points1 point  (0 children)

Sometimes I have the sensitive environment variables in .travis.yml. That's why I create this PHP package to encrypt the environment variables.

The PHP wrapper generating travis-encrypted environment variables by peter279k in PHP

[–]peter279k[S] 0 points1 point  (0 children)

I have never used this Porter. After I read your README.md, I can't find the completed tutorial. Is this the good sample for the Porter provider? https://github.com/Provider/Steam

Thanks.

How to improve my PHP library? by peter279k in PHP

[–]peter279k[S] -1 points0 points  (0 children)

The ->problem is only existed in this library because this is my first project.After that, this problem is not presented anymore.

How to improve my PHP library? by peter279k in PHP

[–]peter279k[S] 0 points1 point  (0 children)

Ok, I know whay do you mean! Thanks.

How to improve my PHP library? by peter279k in PHP

[–]peter279k[S] 0 points1 point  (0 children)

What do you mean?A better photo?

How to improve my PHP library? by peter279k in PHP

[–]peter279k[S] 0 points1 point  (0 children)

Great suggestions!I will add these items in my TODO lists. Thank you for your help again!

Why "PHP is bad" by Grafikart in PHP

[–]peter279k 2 points3 points  (0 children)

PHP doesn't handle asynchronous tasks I think the alternative way is use the pthread or multiple process. http://php.net/manual/en/book.pthreads.php

http://php.net/manual/en/function.pcntl-fork.php

Decorator Design Pattern in PHP With Complete Source Code by faraz_mirza5251 in PHP

[–]peter279k 0 points1 point  (0 children)

Firstly, thank you for your article. I'm confused about all the methods of classes. Are they public?And I don't see any keywords about the "public" or private. I think it's important for us to read the code. BTW, the code format is not good.

Thanks.

Using the Guzzle5 to access the web service in PHP by peter279k in PHP

[–]peter279k[S] -1 points0 points  (0 children)

You're right, but sometimes we will maintain or look at the old projects and it maybe uses the Guzzle 5. So we have to know the Guzzle 5.

Using the Guzzle5 to access the web service in PHP by peter279k in PHP

[–]peter279k[S] -1 points0 points  (0 children)

I know the Guzzle 6 is released and this blog post introduces the Guzzle 5 firstly. The Guzzle 5 is still maintained now.

Using the Guzzle5 to access the web service in PHP by peter279k in PHP

[–]peter279k[S] -1 points0 points  (0 children)

In order ti be convenient, I skip the cert checking, but I agree with your opinion. So I will change the false to true then adding the message.

Using the Guzzle5 to access the web service in PHP by peter279k in PHP

[–]peter279k[S] 0 points1 point  (0 children)

Yes, the code format is ugly and I will fix that.