Black Webmasters Forum

 


Reply
  #1  
Old 11-03-2011, 09:12 PM
Junior Member
 
Join Date: Sep 2010
Posts: 5
Thanks: 0
Thanked 1 Time in 1 Post
Default Pre_replace help

$new_number=preg_replace("/(/d{3})$/e",'$1 * 1.1',$number);

What does the /e do in this pattern?

Reply With Quote
  #2  
Old 11-03-2011, 11:49 PM
Administrator
 
Join Date: Aug 2010
Posts: 85
Thanks: 7
Thanked 21 Times in 20 Posts
Default

Eval.

Quick Tip: "e" Modifier For Regular Expression - Deluxe Blog Tips

PHP: Possible modifiers in regex patterns - Manual
__________________
Follow Me On Twitter
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Our Sponsor Links

Help Us Grow


Follow Black Webmasters on Twitter
Black Webmasters on Twitter



Link to us:
Black Webmasters Forum
Please link to: http://www.blackwebmasters.com



Premium Wordpress Themes
Premium Wordpress Themes



Content Relevant URLs by vBSEO 3.6.0