PHP Classes

File: tests/expected/parser/show5.serialized

Recommend this page to a friend!
  Classes of Michael Cummings   PHP SQL Parser Class   tests/expected/parser/show5.serialized   Download  
File: tests/expected/parser/show5.serialized
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP SQL Parser Class
Parse SQL to extract the SQL query structure
Author: By
Last change:
Date: 5 years ago
Size: 933 bytes
 

Contents

Class file image Download
a:1:{s:4:"SHOW";a:8:{i:0;a:3:{s:9:"expr_type";s:8:"reserved";s:9:"base_expr";s:4:"FULL";s:8:"position";i:5;}i:1;a:3:{s:9:"expr_type";s:8:"reserved";s:9:"base_expr";s:7:"COLUMNS";s:8:"position";i:10;}i:2;a:3:{s:9:"expr_type";s:8:"reserved";s:9:"base_expr";s:4:"FROM";s:8:"position";i:18;}i:3;a:5:{s:9:"expr_type";s:5:"table";s:5:"table";s:9:"`foo.bar`";s:9:"no_quotes";a:2:{s:5:"delim";b:0;s:5:"parts";a:1:{i:0;s:7:"foo.bar";}}s:9:"base_expr";s:9:"`foo.bar`";s:8:"position";i:23;}i:4;a:3:{s:9:"expr_type";s:8:"reserved";s:9:"base_expr";s:4:"FROM";s:8:"position";i:33;}i:5;a:5:{s:9:"expr_type";s:8:"database";s:4:"name";s:6:"hohoho";s:9:"no_quotes";a:2:{s:5:"delim";b:0;s:5:"parts";a:1:{i:0;s:6:"hohoho";}}s:9:"base_expr";s:6:"hohoho";s:8:"position";i:38;}i:6;a:3:{s:9:"expr_type";s:8:"reserved";s:9:"base_expr";s:4:"LIKE";s:8:"position";i:45;}i:7;a:3:{s:9:"expr_type";s:5:"const";s:9:"base_expr";s:8:"'%xmas%'";s:8:"position";i:50;}}}