summaryrefslogtreecommitdiff
path: root/Zend/tests/closure_048.phpt
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2018-09-16 14:16:42 -0300
committerGabriel Caruso <carusogabriel34@gmail.com>2018-10-14 12:07:20 -0300
commit9c144e0d8217d1ef7a83c2498214308b21af749f (patch)
treed977ba0d8601de477c52f62accf02c120ef06253 /Zend/tests/closure_048.phpt
parentb419732ddb0673dc5b15a67ee4bc7f06dd90d7d0 (diff)
downloadphp-git-9c144e0d8217d1ef7a83c2498214308b21af749f.tar.gz
Trim trailing whitespace in tests
Diffstat (limited to 'Zend/tests/closure_048.phpt')
-rw-r--r--Zend/tests/closure_048.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/tests/closure_048.phpt b/Zend/tests/closure_048.phpt
index 40f2e2fbac..47781641a8 100644
--- a/Zend/tests/closure_048.phpt
+++ b/Zend/tests/closure_048.phpt
@@ -4,13 +4,13 @@ Closure 048: Use in preg_replace_callback() using variables by reference
<?php
function replace_variables($text, $params) {
-
+
$c = function($matches) use (&$params, &$text) {
$text = preg_replace( '/(\?)/', array_shift( $params ), $text, 1 );
};
preg_replace_callback( '/(\?)/', $c, $text );
-
+
return $text;
}