PHP
PHP is a popular general-purpose scripting language that's particularly suited for server-side web development. PHP runtime is generally executed by webpage content, and can be added to HTML and HTML5 webpages. PHP was originally developed in 1994 by Rasmus Lerdorf.
Here are 60,968 public repositories matching this topic...
Description
At the moment it's quite hard to debug HTTP errors because the only information we get is:
HTTP/1.1 400 Bad Request returned for "https://example.com/".
It would be nice to have an opt-in option that would automatically open response payload and headers in order to log them in Sentry for example. It may require to handle a max lenght on the response payload.
Users often execute composer install with a different version of PHP than the version they execute the resulting code with. This can of course lead to problems and it would help if the generated autoloader verified a compatible PHP version is actually used. This is based on the idea implemented in flex: symfony/flex#576
Using either https://github.com/composer/semver/iss
Description
Sending empty files in a multipart POST form is a proper use case due to web browsers supporting it.
I worked on a API layer using guzzle that had to work with an existing legacy codebase and trigger some actions (a proxy of some sort). There was a case where files had to be sent with empty content and would not work if you would omit them.
Example
_Currently no implem
Docs using Sphinx should be build in a Python container and then copied over to a fresh nginx container to serve the docs, no PHP needed here.
Problem Description: No instruction of how to contribute in readme.rst. First time users will probably want to see information of how to contribute (which includes how to set up environment, communicate, and submit changes, etc.).
Solution Description: Add a contributing section in readme.rst with general contributing information, and include a link to file "contributing.md" (https://github.com
HHVM is missing some SODIUM_CRYPTO_GENERICHASH_* constants.
see : https://www.php.net/manual/en/sodium.constants.php
the missing constants :
const int SODIUM_CRYPTO_GENERICHASH_BYTES = 32;const int SODIUM_CRYPTO_GENERICHASH_BYTES_MAX = 64;const int SODIUM_CRYPTO_GENERICHASH_BYTES_MIN = 16;
polyfill : https://github.com/nuxed/crypto/blob/master/src/Nuxed/Crypto/_Private
Please answer these questions before submitting your issue. Thanks!
- What did you do? If possible, provide a recipe for reproducing the error.
read Chinese and English documentation
- What did you expect to see?
I expected to find best practice for production usage
- What did you see instead?
nothing
- What version of Swoole are you using (
php --ri swoole)?
latest.
Hi there,
after spending quite some time figuring why Email sending with a certain smtp server does not work, I found its an SSL issue.
Most widely on the web the found solution is to unset some ssl checks:
$mail->SMTPOptions = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true
)
);
However
Update documentation
In console/Controller.php we can read:
/**
* Prints a string to STDOUT.
*
* You may optionally format the string with ANSI codes by
* passing additional parameters using the constants defined in [[\yii\helpers\Console]].
*
* Example:
*
* ```
* $this->stdout('This will be red and underlined.', Console::FG_RED, Console::UNDERLINE);
From the documentation on this page:
If you are installing the databases manually, then once you get the database you want to use copy it to Matomoβs path/to/matomo/misc/ subdirectory.
But it doesn't tell you what filename to extract it out as. I tried to read the php but the code is highly obfuscated making it impossible for me to determine wha
There should be documentation for the $Block & $Line variabels and $Block['element'] and what the diffrent input are used for, e.g Type or Name
-
Updated
Mar 23, 2020 - JavaScript
When creating a page 'changelog' as follows:
pages
βββ 01.home
β βββ default.md
βββ 02.changelog
βββ default.md
with the following route alias in the header to add the '.md' extension:
routes:
aliases:
- '/changelog.md'
And when accessing the page using the url localhost/changelog.md, a 'Forbidden' error will be thrown.
When the file 'CHANGELOG.md' in
HHVM is used nearly anywhere and since php7 is a thing also doesnt has a real use-case anymore.
it was a great project to boost zend-php though.
we should drop hhvm and php5.x support and cleanup the code-base from hhvm workarounds (and drop hhvm ci).
do you guys agree? If so, I can provide a PR.
-
Updated
Mar 9, 2020 - PHP
-
Updated
Mar 21, 2020 - PHP
For maintenance items, currently subscribers only get a notification that a maintenance item was created.
Please could we make the following amendments to notifications for maintenance items:
- Make sure that the description is in the email so that subscribers don't have to visit the status website to find out more detail about the maintenance item and also let them know what component and/o
Currently the first parameter $base is a string that could be: top-left (default), bottom-right or transparent as the doc: trim().
There some way to trim by color? In my case, I need trim transparent and/or white color, only. Eg.: trim([ 'transparent', 'white', '#FF0000']) to trim transparent, white and red. The problem is that first parameter
-
Updated
Mar 11, 2020 - PHP
Hi,
I'm currently having problems to store the optimized byte sequence to my postgres database. I keep getting the error SQLSTATE[22021]: Character not in repertoire: 7 ERROR: invalid byte sequence for encoding "UTF8": 0xe7 0x87 0xf3
I've followed the guide and used the OrderedTimeCodec in my uuid factory.
My database tabl
I did a quick search and can't find this bug.
This has existed since at least 18.0.2.
I cannot delete files or folders because it cuts off the menu before the delete option appears. I am using firefox and 18.0.3
Here is a GIF of the issue (scroll down)
Describe the bug
Model with a field called "container" will throw an exception on serialize
To Reproduce
CREATE TABLE test (
id int(10) unsigned NOT NULL AUTO_INCREMENT,
container varchar(64) DEFAULT NULL,
PRIMARY KEY (id)
) ENGINE=InnoDB
and use phalcon dev tools to create a model of this table
create an instance of the model and serialize
im seeing erro
New name pattern
I use the 'nick name' field to enter people's 'calling name' (roepnaam, in Dutch) - how we call ppl in daily life. That's also the name by which I'd like to display & sort contacts.
Therefore, I'd like to suggest a new name pattern: <Nickname> (<First name> <Last name>), which would resort to <First name> <Last name> if there is no nickname.
Created by Rasmus Lerdorf
Released June 8, 1995
- Organization
- php
- Website
- secure.php.net
- Wikipedia
- Wikipedia


NOT AN ISSUE
Just want to know if the list contains free content with project based learning resources for self-learning students.