3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $schema['ff_acl'] = array( 'description' => 'Table storing association codes tied to a user id.', 'fields' => array( 'aid' => array( 'type' => 'serial', 'unsigned' => TRUE, 'not null' => TRUE ), 'uid' => array( 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE ), 'nid' => array( 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE ), 'sku' => array( 'type' => 'varchar', 'length' => 64, 'not null' => FALSE, 'description'=> 'The products sku/model number.' ), 'order_id' => array( 'type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE ), 'expires' => array( 'type' => 'int', 'unsigned' => TRUE, 'not null' => FALSE, 'description'=> 'Access expiration time.' ), ), 'primary key' => array('aid') ); print $schema;
Output for 5.4.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Array to string conversion in /in/3cada on line 41 Array
Output for 4.3.0 - 5.3.29
Array