File: tests/expected/parser/issue74f.serialized

Recommend this page to a friend!
  Classes of Michael Cummings  >  PHP SQL Parser Class  >  tests/expected/parser/issue74f.serialized  >  Download  
File: tests/expected/parser/issue74f.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: 2 years ago
Size: 1,153 bytes
 

 

Contents

Class file image Download
a:1:{s:4:"DROP";a:4:{s:9:"expr_type";s:15:"temporary-table";s:6:"option";s:7:"CASCADE";s:9:"if-exists";b:1;s:8:"sub_tree";a:6:{i:0;a:3:{s:9:"expr_type";s:8:"reserved";s:9:"base_expr";s:9:"TEMPORARY";s:8:"position";i:5;}i:1;a:3:{s:9:"expr_type";s:8:"reserved";s:9:"base_expr";s:5:"TABLE";s:8:"position";i:15;}i:2;a:3:{s:9:"expr_type";s:8:"reserved";s:9:"base_expr";s:2:"IF";s:8:"position";i:21;}i:3;a:3:{s:9:"expr_type";s:8:"reserved";s:9:"base_expr";s:6:"EXISTS";s:8:"position";i:24;}i:4;a:4:{s:9:"expr_type";s:10:"expression";s:9:"base_expr";s:12:"blah1, blah2";s:8:"sub_tree";a:2:{i:0;a:7:{s:9:"expr_type";s:15:"temporary-table";s:5:"table";s:5:"blah1";s:9:"no_quotes";a:2:{s:5:"delim";b:0;s:5:"parts";a:1:{i:0;s:5:"blah1";}}s:5:"alias";b:0;s:9:"base_expr";s:5:"blah1";s:5:"delim";s:1:",";s:8:"position";i:31;}i:1;a:7:{s:9:"expr_type";s:15:"temporary-table";s:5:"table";s:5:"blah2";s:9:"no_quotes";a:2:{s:5:"delim";b:0;s:5:"parts";a:1:{i:0;s:5:"blah2";}}s:5:"alias";b:0;s:9:"base_expr";s:5:"blah2";s:5:"delim";b:0;s:8:"position";i:38;}}s:8:"position";i:31;}i:5;a:3:{s:9:"expr_type";s:8:"reserved";s:9:"base_expr";s:7:"CASCADE";s:8:"position";i:44;}}}}

For more information send a message to info at phpclasses dot org.