aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Tput.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Tput.php b/Tput.php
index ee97e7c..9788b38 100644
--- a/Tput.php
+++ b/Tput.php
@@ -633,10 +633,10 @@ class Tput
// Names.
- $i = $headers['header_size'];
-
- list($out['name'], $out['description']) =
- explode('|', substr($data, $i, $headers['names_size'] - 1));
+ $i = $headers['header_size'];
+ $nameAndDescription = explode('|', substr($data, $i, $headers['names_size'] - 1));
+ $out['name'] = $nameAndDescription[0];
+ $out['description'] = $nameAndDescription[1];
// Booleans.
$i += $headers['names_size'];