• Increase font size
  • Default font size
  • Decrease font size
Home Ideas Pipe operator

Pipe operator

E-mail Print
Read : 8,660 times
(0 votes, average 0 out of 5)



<---- Work in progress ---->

Piped function calls insert the lhs at a specific position into their argument list. This position is determined by the following logic :

  • If the function accepts 0 mandatory arguments, using it in a pipeline is forbidden -> Error
  • If the function appears in the table below, position is listed in the table
  • In every other cases, insert at position 0 (insert as first argument)

 

FunctionPosition
(0 = first arg)
array_fill2
array_fill_keys1
array_key_exists1
array_map1
array_search1
assertDisabled
call_user_funcDisabled
call_user_func_arrayDisabled
date_create_from_format1
date_create_immutable_from_format1
date_parse_from_format1
dba_delete1
dba_exists1
dba_fetch1
dba_insert2
dba_replace2
explode1
file_put_contents1
filter_has_var1
filter_input1
fnmatch1
forward_static_call_arrayDisabled
hash1
hash_file1
hash_hmac1
hash_hmac_file1
hash_pbkdf21
imageftbbox3
imagepalettecopy1
imagettfbbox3
imap_mail2
mail2
mb_send_mail2
mcrypt_decrypt2
mcrypt_encrypt2
mhash1
mhash_keygen_s2k1
money_format1
msgfmt_format_message2
msgfmt_parse_message2
output_add_rewrite_var1
pcntl_sigprocmask1
preg_filter2
preg_grep1
preg_match1
preg_match_all1
preg_replace2
preg_replace_callback2
preg_replace_callback_array1
preg_split1
recode_file1
recode_string1
str_ireplace2
str_replace2
unpack1
 

Please login or register to add a comment