[ Index ] |
PHP Cross Reference of YOURLS |
[Summary view] [Print] [Text view]
1 <?php 2 /** 3 * 4 * This file is part of Aura for PHP. 5 * 6 * @license https://opensource.org/licenses/MIT MIT 7 * 8 */ 9 namespace Aura\Sql\Parser; 10 11 /** 12 * 13 * Parsing/rebuilding functionality for the mysql driver. 14 * 15 * @package Aura.Sql 16 * 17 */ 18 class MysqlParser extends AbstractParser 19 { 20 /** 21 * 22 * Split the query string on these regexes. 23 * 24 * @var array 25 * 26 */ 27 protected $split = [ 28 // single-quoted string 29 "'(?:[^'\\\\]|\\\\'?)*'", 30 // double-quoted string 31 '"(?:[^"\\\\]|\\\\"?)*"', 32 // backtick-quoted string 33 '`(?:[^`\\\\]|\\\\`?)*`', 34 ]; 35 36 /** 37 * 38 * Skip query parts matching this regex. 39 * 40 * @var string 41 * 42 */ 43 protected $skip = '/^(\'|\"|\`)/um'; 44 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Tue Jan 21 05:10:11 2025 | Cross-referenced by PHPXref 0.7.1 |