CodeLobster IDE

Free cross-platform PHP IDE (HTML, PHP, CSS, JavaScript code editor) with support Drupal, Joomla, Twig, JQuery, BackboneJS, LaravelJS, Node.js, Fhalcon, CodeIgniter, CakePHP, Laravel, Magento, MeteorJS, Phalcon, Symfony, VueJS, WordPress, Yii
It is currently Mon Nov 30, 2020 7:45 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: SYNTAX CHECK PROBLEM
PostPosted: Sat Sep 05, 2020 2:40 am 
I bought tonight the Lite version of Codelobster PHP Edition, and I had the first disappointment.
Code:
                    switch (true) {
                        case ($row_count>100000) and ($row_count<=500000) {                                 
                                $offset = 50000;
                                break;
                  }                   
                                    
                        case ($row_count>500000) and ($row_count<=1000000) :
                                $offset = 75000;
                                break;
                           
                        case ($row_count>=1000000) :
                                $offset = 100000;
                                break;
                           
                        default :
                            $offset=0;
                            break;
                       
                    }

This piece of code, you have a syntax error, but our program ignores it. Someone can tell me how to intervene on the parameters or other so that the problem can be solved.


Report this post
Top
  
Reply with quote  
 Post subject: Re: SYNTAX CHECK PROBLEM
PostPosted: Mon Sep 21, 2020 9:06 pm 
Offline

Joined: Fri Mar 22, 2019 10:13 pm
Posts: 43
Location: www
Simon69 wrote:
I bought tonight the Lite version of Codelobster PHP Edition, and I had the first disappointment.

This piece of code, you have a syntax error, but our program ignores it. Someone can tell me how to intervene on the parameters or other so that the problem can be solved.


You have to adjust the error reporting in settings.
so far I know at least ;)


Last bumped by Anonymous on Mon Sep 21, 2020 9:06 pm.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 9 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2016 phpBB Group