Most voted "php-7.1" questions
11 questions
Sort by count of
-
5
votes1
answer178
viewsWhat is the iterable type of PHP 7.1 for?
I was looking at some code to test PHP 7.1 and found the following excerpt: function doLoop(iterable $iterable) { foreach ($iterable as $value) { echo $value; } } $data = [1, 2, 3, 4];…
-
2
votes1
answer276
viewsMulti upload with various php and mysql formats
I would like to do a multi upload with various img formats, I am researching how it does using php 7.1, I understood more or less the logic of the business. I just can’t seem to reproduce. Someone…
-
2
votes0
answers68
viewsScript Error with PHP 7.1
I have a problem in a module that previously worked correctly in version 5.6 of PHP. After upgrading the server’s PHP to 7.1 it stopped working, due to some functions that were previously present in…
-
1
votes0
answers58
viewsExamples with type comparison
Hello, I’m wanting to understand a part of PHP documentation and I’m not getting it. I want to understand the part that speaks of comparison with various types. See more on this link:…
-
1
votes0
answers11
viewsNginx disconnecting two subdominios
Hello, I’m having problems with two subdominios, I checked Tail found this error: 2018/06/15 13:02:11 [error] 13456#13456: *807 connect() to Unix:/var/run/php7.1-fpm-esf.Sock failed (11: Resource…
-
1
votes1
answer393
viewsError when connecting oracle
I’m trying to perform operation Insert on the oracle by Laravel (5.6), but is giving error: The method I do the Insert is this: public function salvar( Request $request ){ $agenda = new Agenda();…
-
1
votes0
answers73
viewshow to handle a multiple file upload request and [Object Filelist]?
I’m trying to upload multiple files, but the request is sending a string: [Object Filelist] <file class="btn btn-default" name="fotos_empreendimento" accept=".jpeg,.png,.gif"…
-
0
votes0
answers19
viewsSearch a table or other with PHP
What I would like is this: I have two tables, being tabelaA and tabelaB. I want the term searched if not found in a table, to be consulted in the other table. I don’t know if there’s anything that…
-
0
votes0
answers46
viewsSelect record from each mysql category
How do I get the two records with the highest view of each category? I have 7 categories and would like to pick up the two items with higher views of each of these 7 categories.
-
0
votes0
answers68
viewsZend Framework 2 My Acl plugin authentication returns a strange error
I have a project based on Zend Framework 2 and the Myacl plugin; My operating system is Ubuntu 17.04; php version: 7.1.11. I cannot access the project homepage, an error occurs during authentication…
-
0
votes1
answer102
viewsHow to avoid installing Apache when installing php7.1 on Ubuntu 16.04?
I have the following code that installs php7.1 on Ubuntu 16.04: sudo apt-get install -y software-properties-common sudo add-apt-repository -y ppa:ondrej/php sudo apt-get update sudo apt-get install…