Skip to content

Instantly share code, notes, and snippets.

@GitHub30
Last active December 16, 2022 16:36
Show Gist options
  • Save GitHub30/e1e4e50d854604d5062bb7cd9232ca82 to your computer and use it in GitHub Desktop.
Save GitHub30/e1e4e50d854604d5062bb7cd9232ca82 to your computer and use it in GitHub Desktop.
<?php
var_dump(PDO::MYSQL_ATTR_MAX_BUFFER_SIZE);
@GitHub30
Copy link
Author

GitHub30 commented Dec 16, 2022

curl -O https://gist.githubusercontent.com/GitHub30/e1e4e50d854604d5062bb7cd9232ca82/raw/MYSQL_ATTR_MAX_BUFFER_SIZE.php

@GitHub30
Copy link
Author

php MYSQL_ATTR_MAX_BUFFER_SIZE.php

@GitHub30
Copy link
Author

$ php MYSQL_ATTR_MAX_BUFFER_SIZE.php
PHP Fatal error:  Uncaught Error: Undefined class constant 'MYSQL_ATTR_MAX_BUFFER_SIZE' in /home/funaox/MYSQL_ATTR_MAX_BUFFER_SIZE.php:3
Stack trace:
#0 {main}
  thrown in /home/funaox/MYSQL_ATTR_MAX_BUFFER_SIZE.php on line 3

Fatal error: Uncaught Error: Undefined class constant 'MYSQL_ATTR_MAX_BUFFER_SIZE' in /home/funaox/MYSQL_ATTR_MAX_BUFFER_SIZE.php:3
Stack trace:
#0 {main}
  thrown in /home/funaox/MYSQL_ATTR_MAX_BUFFER_SIZE.php on line 3

@GitHub30
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment