php-src
php-src copied to clipboard
The PHP Interpreter
### Description The following code: ```php $cComando = 'ALTER TABLE T_ORGA ADD ORGA_VLR DECIMAL(18,8) NULL'; mysqli_query($link,$cComando) if(mysqli_error($link)){ echo 'Column exists'; }
### Description I have on my development system an access violation in php8ts.dll. And I don't know where to look for. Loading a simple PHP page works. But loading a...
### Description We're developing an ecommerce solution called HikaShop for the Joomla CMS. We've been at it for more than 10 years. Several of our users report a warning happening...
### Description I apologize if this is off base asking here but I am running out of ideas. We have a pipeline that runs ruby code that downloads php sources....
### Description In a test postgresql database create a table like such: ``` create table foo ( bar text ); ``` The following code: ```php "testing"]; $db = pg_connect('dbname=test host=localhost');...
### Description The following code: ```php
### Description The following code: ```php
### Description Behaviour in PHP 8.1 is correct, but incorrect for PHP 8.0.17: https://3v4l.org/HQmqn The following code: ```php add(new DateInterval('PT1H'))->format('Y-m-d H:i:s') . PHP_EOL; echo $baseDate->add(new DateInterval('PT2H'))->format('Y-m-d H:i:s') . PHP_EOL; echo...
### Description The following code: ``` ``` Resulted in this output: ``` 1 yes ``` But I expected this output instead: ``` ``` ### PHP Version PHP5.4.16 ### Operating System...
### Description The following code: ```php query("DROP TABLE IF EXISTS foo"); var_dump($mysqli->query("CREATE TABLE foo (id BIGINT UNSIGNED AUTO_INCREMENT, PRIMARY KEY (id))")); var_dump($mysqli->query("INSERT INTO foo VALUES (9223372036854775807)")); var_dump($mysqli->insert_id); var_dump($mysqli->query("INSERT INTO foo...