« first day (1073 days earlier)      last day (3879 days later) » 

10:00 AM
@JoeWatkins well, yes, and ..?
 
well that'll be the main difference ... when you're comparing anonymous functions and classes, but you wouldn't expect a function to be able to implement an interface because it doesn't make good sense ... again, I don't know what I'm supposed to say ...
 
@JoeWatkins and anonymous class could be something like $rObj = new class implements Foo?
 
Morning.
 
hi, @Leri
 
yes
 
10:03 AM
Hi, @AlmaDoMundo. How are you?
 
moin @Leri
 
@Leri sleeepy :p 3:30AM is too late :p
well, for going to bed :p
 
Sem
@PeeHaa Yes sir, sir!
 
@JoeWatkins morning, have you finished your doc about pthreads?
@AlmaDoMundo Good night. ;)
 
@Sem :P
 
10:05 AM
you mean the one on gist ?
 
Yes
 
@JoeWatkins and there could be different implementation so? i.e. $foo = new class implements Baz or $bar = new class implements Baz ?
 
yeah ... but its not really a whole book, just an intro, answers some questions out there ... I plan to write more ... any particular reason ?
@AlmaDoMundo yes
@AlmaDoMundo I feel like I'm supposed to be noticing something ... but I dunno what ?
^^ is what anonymous classes means
 
I have been working on commentar this weekend (not pushed, because I didn't finish it yet), but there will be the need to style some extra pages soon. login template, 404 template, create thread template. So if you have some time somewhere after next weekend that would be totally cool :)
 
Sem
@PeeHaa I've planned to make the phpBB text parser this weekend.
 
10:07 AM
@JoeWatkins No, just curiosity and will to read more.
 
noticing? why? I think it's quite clear what they mean. It's .. well, about justifying them. It seems they have mostly decorative sense
 
Sem
@PeeHaa Sure thing :) ... What?! Create thread? Aren't these page related chats?
 
@Alma you could have said the same about varadics ... exactly the same ... but no one did ...
 
@JoeWatkins I can gather some opinions from good devs. Would you like if I do that?
 
:s don't get humans ...
yes, any help appreciated ... I just wanted to write the code ...
 
10:08 AM
@Sem cool
 
@JoeWatkins yes, ok. May be tomorrow will be ok? (I.e. I'll share our ideas )
 
yh cool, nite @Alma
 
need help..i'm getting data from database using php but what data i'm getting that is displaying in the same item in listview
 
"SELECT `course_type.CT_Type_Code` FROM `course_type` WHERE CT_Course_Code=? INNER JOIN registration_type
ON course_type.CT_Type_Code=registration_type.RT_Code WHERE RT_Status=?"
how to do this ?
i want to match CT_Course_Code from the course_type table also if the course_type.CT_Type_Code=registration_type.RT_Code with the RT_Status "Active"
?
 
10:27 AM
i'm getting output for php as "Agano Jipya - New TestamentAgano la kale - Old Testament "
so same as displaying in listview
 
@user2384323 And what do you want/expect from us?
 
in this 2 titles are combined
if i use <br/>
its just displaying in the next line
 
@JoeWatkins nobody told you that getting stuff into php is 10% writing code and 90% everything else (RFC and mailing list discussions)?
 
@NikiC 10% is a little generous :)
 
@Leri when i'm loading the php file i'm getting all the data in single listitem in listview
 
10:35 AM
@user2384323 Telling story of your listview or whatever, is not answer to my question.
 
@NikiC that's good. May be that's why PHP is so popular:p I mean that it's good point: to think 9 times before do something 1 time :p
 
@NikiC if there's a next time I think I'll involve someone else for the human interaction bit ...
 
@AlmaDoMundo However php can do it better.
 
@JoeWatkins you're lazy ^^
now's the time to look through a lot of java code using anon classes and figuring out what they're good for ^^
 
it's should be palpably obvious what they are used for ... if it is not, then it's not a shortcoming in my perception of the functionality, that is illogical ...
 
10:42 AM
@Leri well, may be. My point is that 'better safe than sorry' - in this case - better to think too much than to do some weird things :p
 
@JoeWatkins it's not obvious to me at least
 
I don't read too much java code but I always find anonymous classes to be just callbacks and since we have callables... anyway, it would be cool to have them, why not.
 
@JoeWatkins from what I can see anon classes are necessary in bad languages that drove their OO masturbation too far and don't support normal functions that can be used as callbacks
 
@Leri i think Joe's point is to find more useful explanation than 'why not'
 
when I'm looking at java where this kind of thing is natural, I use anon classes all the time, creating runnables, threads, custom array lists, setting default exception handlers just in one file at a glance ...
 
10:46 AM
@Leri how can we get exact data from database using php
 
@AlmaDoMundo Yes, you are right but I don't have any other explanations...
 
What if instead of having sirens ambulances just played move bitch get out the way by ludacris
 
Hello everyone!
 
Anonymous
hello
 
Hey
 
10:48 AM
How are you geeks?
 
@JoeWatkins That's because you have only one public class per-file in java... Well, maybe I am missing something.
 
@NikiC nothing actually bad ever came of masturbation rofl
 
@Leri so, I'm seeking that right now :p
 
@user2384323 Connect to database, run query, fetch result.
 
Anonymous
@KamranAhmed Am not a geek
 
10:49 AM
no but in seriousness, it might be masturbation, but it does lead to choice of expression ... its not necessarily a thing you need but nor is the majority of php ...
 
@Simon_eQ no problem, that won't hurt me!! :P
 
I'm a total geek.
 
@Starsong Then you deserve a medal! :P
*No Offense
 
@Leri you appear to be, I don't want to create another unit of compilation for the sake of changing the functionality of one method, or set of methods, if it doesn't require documenting and I use it once I tend to use an anonymous class ...
 
@Starsong we don't need more accitents
 
10:53 AM
@Leri i know that one... i'm asking that i'm getting the result in single line...if i use <br/> its just displaying in next line ...
 
@Starsong plus everyone

It's been 6 months, since I first started PHP. If I say, I am an advanced PHP developer, what do you think I should know?
 
@KamranAhmed you're not
that's it
that assuming you got no longer experience with other languages
 
@KamranAhmed I'm a PHP-newbie :(
 
Anonymous
@AlmaDoMundo same here hehe :)
 
10:55 AM
@Ocramius actually, I have got experience working with, C#.Net, ASP.Net and C++ as well...
 
Has anyone used Netbeans on linux with Nginx ?
 
@KamranAhmed the same six month?
 
@Ocramius You should have seen Naples city center last night after the football. :D
 
@NikiC I think nested and anon classes serve the same kind of purpose in PHP as they do in Java, there might be slight differences, but the reasons they exist still stand ... I got nested classes working too by the way github.com/krakjoe/php-src/compare/… some things you need to justify, but things that are already an established part of OO, I just don't get it ...
 
@Ocramius and how do you say that?
 
10:56 AM
Biggest celebration I've ever seen. :P
 
@Gordon sorry?
 
@KamranAhmed do you got the same six months in those languages that you got with PHP?
 
Hmm.. Well, personally, I don't see how my current codebase can benefit from anon classes. If this feature gets approved I may find some...
 
@Leri and mine will get (benefits)
 
@Leri same here. I don't even understand why I would need them over composition or strategies
 
10:58 AM
@Gordon Nope, that's the period that when I started with web development.... So PHP, JS/Jquery, HTML, CSS etc..
 
@JoeWatkins funny
 
@NikiC what ?
 
@KamranAhmed how many years of experience in software development do you have?
 
I think you were the one that told me that just because other languages use something, it does not mean at all that it will be useful in PHP ;)
 
@AlmaDoMundo Don't worry, I was the same at first :?
* :/
 
10:59 AM
I'm a PHP noob.
 
@JoeWatkins Are nested classes just a new way of putting a class in another namespace?
 
@Gordon I am currently in my 7th semester of BS-Software engineering so you may say 3 years..
 
Some learn fast, some just don't have the interest.. I started with webdevelopment when I was just 9 years old :P Frontpage 2000, html and css
 
I think that was probably concerning the property accessor thing ... do you remember how complex that patch was ...
 
@KamranAhmed ah ok. so you know nothing about actual software development :) so you're not advanced.
 
11:00 AM
@JoranDenHouting Impressed!
 
@JoeWatkins that was a general statement
 
@JoranDenHouting I started with perl, and stayed with perl for the most part.
 
not related to anything, I think
 
@Gordon LOL "Software Engineer" Ever heard about that? O.o
 
@JoranDenHouting PHP noob, not a web / software dev noob.
 
Anonymous
11:00 AM
Newbie and Noob, are special keywords reserved exclusively for me in this room :p
 
@KamranAhmed, it's funny.. I'm trying to learn object C, looking at youtube vids of 12yo kids explaining me the damn code :p
 
well it's true, there's no point in going to the ends of the earth to introduce something that another language has just because another language has it, but change a couple of instructions to expose additional choice, I don't see a problem with that ... say I had gone the way I thought was necessary and done this by changing a bunch of zend_compile.c then I'd have a different opinon, and there'd be no PR, I'd probably still have done it ... but wouldn't be so keen on using it ...
 
@JoranDenHouting hahaha
@JoranDenHouting what do you do?
 
I'm fulltime webdeveloper at the sports brand Hummel, do you know it?
 
Nope
 
11:02 AM
@KamranAhmed what do you do for living?
 
@KamranAhmed yeah, software engineering. that thing that resulted from the software crisis in the 60s and since then failed to solve that crisis ;)
 
@JoeWatkins The amount of core changes doesn't really matter imho
 
@NikiC yeah nesting is just another way of namespacing as you can tell by the patch ... but that doesn't diminish it's functionality for the user ...
 
@JoranDenHouting part time web developer and part time classes (Currently in my last year)
 
@JowWatkins: I see internals hasn't changed even a tiny bit...
 
11:03 AM
@Gordon Exactly :-)
 
@JoranDenHouting Stop it right now, unless you want to have your head full of awful practices.
 
@JoeWatkins If it's exactly the same thing as what we already have, what does it offer? The feature would only make sense to me if the nested class is not accessible from outside the class it is nested in or something like that
 
@Leri, object C is a language I still have to figure out, I started learning because I wanted to create an iOS app, but it's awful indeed. I love the logic thinking behind PHP coding..
 
@NikiC amount isn't important, but complexity must be taken into consideration ... not the only consideration, but with something as complex as that property accessor patch it's complexity and impact is hard to ignore ..
 
@JoranDenHouting glad to hear that!
 
11:04 AM
@KamranAhmed with < 3 years of web dev you are not senior in web dev
if your level is "got out of university" then that's juniors :)
 
@Ocramius to be fair. its not the years but the skills
4
 
@Gordon right
 
@NikiC well you have to use it's full name ... access protection is surely an extension of nesting, or so I thought ...
@ircmaxell it has not ...
 
but there's so many things that you can learn only by failing
6
 
yupp
 
11:05 AM
and 7 semesters of failing is fairly small time :D
 
@JoeWatkins Access protection seems independent of nesting to me
 
@JoranDenHouting I'd recommend reading books. While reading books you get more concepts. I used to watch tutorials like that and realized I was wasting my time.
 
@Ocramius I've been doing part time job since the very start... Where do I stand now? What do you say about that?
:P
 
Anonymous
@Ocramius if there was a test in which you could know, how not-newbie you are, I would take it :)
 
@Leri, indeed totally agree. But my learning is more like downloading an example and trying to get another result out of it by edit the thing. The more I edit, the more I'm understanding the code, the more I learned out of it. This way I learned PHP many years ago as a little child..
 
Anonymous
11:07 AM
I can't take the Zend Certificate test, for many reasons, one of which is ... I know, I'm going to fail :)
 
@Ocramius "7 semester of failing" not exactly...
Thats what I'd prefer, if I could, over job
 
Nowadays, it's more about application architecture thinking rather than logic thinking. Almost every non-trivial problem is solved and can be found on wikipedia. You just need to adapt it to your app.
 
@JoranDenHouting That really isn't a very efficient way to learn. :P I would know, I used to do it all the time.
 
@Ocramius Considering senior is not protected in any way (at least here) everbody can call him- / herself a senior
 
@Starsong, it works for me :D
 
11:08 AM
@NikiC well I'm not sure .... I haven't thought about it that much ...
 
@KamranAhmed do you know what SOLID is?
 
@PeeHaa right. I'm considered Senior in the ZF community
I'm junior in the symfony community
etc etc
 
@Simon_eQ, just do the test! You'll only learn from it :) And those are not that expensive at Zend ;)
 
I don't think there's a generic "senior"
 
@JoranDenHouting you'll learn nothing from the test since you dont get to see the answers iirc
 
11:09 AM
@Gordon Nope, if you are asking for something related to Software Engg.
 
@Ocramius only after retirement :)
 
@salathe harhar
 
What I think is the best way to learn is to work on the projects, as much as you can...
 
@KamranAhmed ok. start here: en.wikipedia.org/wiki/SOLID_(object-oriented_design) and follow all the links
 
I love this song...
 
11:10 AM
@NikiC it requires a bit more work anyway, which I'll happily do, if there's an actual reason ... I don't see the harm in introducing nesting first and protecting later ?
 
I'm out for lunch, have a good day!
 
'Senior' always feels artificial (unless it gets you a new pay grade). >_>
 
@Starsong I can ensure you it gets you one
 
@Ocramius At work it does, on the Internets not so much. :P
 
11:11 AM
but I'm also working 12hrs/day because of all the juniors coordination stuff
 
I should be Senior at work by April.
Looking forward to the 50% pay jump
 
not bad
 
    <?php
    class My {
        class Other {

        }

    }

    new Other();
    ?>
@NikiC some of the benefits of private classes are implicit in nesting ... the above will fail, no Other entry ...
 
@JoeWatkins Just called My\Other then...
 
@Starsong @Ocramius and everyone else
Can anyone please suggest me some innovative plus challenging task for my final year project?
 
11:12 AM
yeah you can do ...
 
@KamranAhmed Use a language you dont mind hating forever.
I used Python, I hate it now. :D
 
@KamranAhmed Try to install something with pear
 
@PeeHaa :D
 
Ofcourse that's PHP and I am pretty sure that I won't hate it...
 
I suggest C# or Visual Basic.
 
11:13 AM
@KamranAhmed build a scalatron self-learning program
 
sorry, missed everything - was at launch :p
 
@PeeHaa that's a bit much for the final year project. installing something with pear is more dr-level
 
@starsong But I love Opensource
 
@KamranAhmed Me too
 
@NikiC :-P
 
11:14 AM
Make something open source then.
 
build me something I need
 
@Starsong Actually, I really want to... But I am out of ideas...!!
 
I suggest an angularjs-php bridge that allows me to completely forget my view layer
:P
 
@KamranAhmed Do you have a github or do you only love to use open source?
 
@KamranAhmed Write an in-browser IDE with code completion for PHP. :P
 
11:15 AM
@PeeHaa that'd be funny but I have just started learning Github...!!
 
@KamranAhmed Create an open source, secure and easy to install php code pad
 
@Starsong it seems it's 'task for task' :p
 
It has to be easy to install on centos 6
 
@AlmaDoMundo It seems like a good FYP to me.
 
@PeeHaa teehehe
 
11:16 AM
@Starsong good idea..
 
@AlmaDoMundo And has room for actual real world use.
 
FYP = ? //sorry, As I've said, I'm noob :p
 
Final year project, something most degrees make you do.
 
@PeeHaa "Code Pad"?
 
@PeeHaa I ran into a problem with Centos 6 with Netbeans and Nginx. You got any experience?
 
11:17 AM
@Starsong ah, got it
 
 
I wrote a multiple-user drawing program to create SVGs. It was bad.
 
Why doesn't gmail let me create my own TAB and I can fill it with a rule? Stupid
 
I should have just done something good in perl, but I wanted to try using python.
 
@CvetomirLazarov That sounds a lot like you are running it with a GUI
 
11:18 AM
Yes, GNOME
 
@PeeHaa ahahahahahahahahhahahahahahahah
 
@CvetomirLazarov If the possible solutions involves a fix on the CLI I might be able to help you
 
@CvetomirLazarov Is it an Intel or an AMD? Have you tried reversing the flux capacitor?
 
@Starsong Intel i7
@PeeHaa Basically, I have my /usr/share/nginx/html folder, which is 777 and nginx:nginx in order for Nginx to work with it
 
@CvetomirLazarov uhhu
 
11:20 AM
The problem is that Netbeans won't paste files
 
chmod 777, I'm out.
 
@CvetomirLazarov Define "paste"
 
I have to start thinking about my final year project, thanks for reminding. ;)
 
I have a structure with some files
they are all nginx:nginx permissions
 
@Leri Clone 'dope wars' in x64 Assembly.
 
11:21 AM
when I try to copy and paste some of the files in the IDE, it fails
 
@PeeHaa I've just checked it... Really a nice idea!
 
It just doesn't copy the files
And when I'm creating new files from the IDE, it makes them xpand:xpand
 
@KamranAhmed It is, but keep in mind the eas of install thing is really important :D
 
which is my user account
@Starsong lol, why is that :D
I'm just developing, that's why
 
@CvetomirLazarov Because if I assist you in running something on a 777 permissions base, I'm an accomplice to the crime.
9
 
11:23 AM
@PeeHaa any idea what I'd need to develop that. What I am thinking of is JS, Jquery, Ajax and apache at the backend..!!
 
@CvetomirLazarov Can you try chown -R xpand:nginx /the/dir
 
@Starsong Will choose different language but sounds good. It can be multi-player as well.
 
And please dont do 0777
 
@Leri I did it in asm. :P It's actually easier than you'd think.
 
@KamranAhmed s/jquery/ and s/apache/nginx and I would fork it :D
 
11:24 AM
@PeeHaa I always chmod 007 when I want to feel like Bond … you know. danger!
 
@PeeHaa I need 777 in order to edit my files. It's a development server, not a production one.
 
@CvetomirLazarov Why??
Do you know what it means?
 
Because of the IDE (Netbeans)
 
"s/"?
 
@JoeWatkins it seems I've got first good point
 
11:24 AM
@PeeHaa I'm pretty sure if it's JS-based it'll work on Apache or Nginx. :P
 
It doesn't want to edit my files if they are 755 or 644
or whatever else
 
@Starsong Well the thing is that I can only read (i.e. tell what the hell is doing) assembly. Just started learning one week ago and still just playing around calling kernel methods. And mostly I fail. -.-
 
@CvetomirLazarov That was not my question. Do you have any idea what those numbers represent?
 
even 775, and yeah - I know what it means
the 4 2 1 system
 
@CvetomirLazarov You need to research unix permissions.
@Leri Hmm, use C then. :P
 
11:26 AM
There is absolutely no reason to set it to 777
 
@PeeHaa Yes, I know.. that's what I'm saying - the 4 2 1 system of permissions
 
Sounds like you need to look into groups
 
There is no reason to ever use 777 unless you're creating a public upload directory which is isolated from being able to run scripts.
 
But if they are, for example, 775, Netbeans won't allow me to edit the files
 
EVEN THEN, don't.
 
11:27 AM
30 secs ago, by PeeHaa
Sounds like you need to look into groups
 
Because you're not in the group the file belongs to.
Put your user in the nginx group.
 
So you suggest I add xpand (my user) in the nginx group
Ah, yeah
 
I would rather create a new group for it
webusers or whatever
 
I just have one www group
 
Remember that nginx folder needs the nginx group
 
11:28 AM
apache:www owns the files
My user is in www group, so is apache user.
 
Not apache, @Starsong It's Nginx
I don't have apache
 
@CvetomirLazarov I know, you can translate that setup to your nginx setup.
 
I have disabled it
 
I use apache.
 
@Starson @PeeHaa
I gotta go now.
Thanks thanks for the ideas! :)
 
11:29 AM
BTW, just for the record, your issue is not with Nginx, Netbeans etc. It is with UNIX permissions.
 
@KamranAhmed No problem. Ping me whan I can install it :D
 
Actually, I have my user in the nginx group
Another problem is that Netbeans messes up with my permissions
 
@PeeHaa haha OK. Any facebook/Twitter contact? :D
 
If I create a new file, it becomes xpand:xpand
Actually, it now becomes xpand:nginx
 
Use a proper VCS workflow and you wont have these issues.
 
11:30 AM
because I've set the default group for the foler to be forced to be nginx
 
Make a VCS repo locally, dev and production branches. When you have a feature ready to push live, push production to the live repo (in your web directory).
 
@KamranAhmed nopez. I don't have no twatter or facebook
You can always find me here or send an email to my mynickname@php.net
 
@PeeHaa "@php.net"? :O
 
mornings
 
morning @tereško :)
 
11:32 AM
Morning @tereško
 
Either that or use my contact form pieterhordijk.com/contact
 
morning @tereško
 
@PeeHaa, can I make netbeans start with the nginx user?
 
@KamranAhmed He's always here. :P Just catch him in here.
 
afternoon @tereško
 
11:33 AM
I think that will fix the problem, but can I really make it work that way
 
@CvetomirLazarov Yes
 
And please don't start your mail with I need help!!! like all other SOers who found my contactform ;)
 
su nginx
netbeans &
But DON'T do that.
 
@tereško mornig
 
It's just that I can't benefit from my IDE
For every file I save, I need to push it if it's a repo
 
11:34 AM
@CvetomirLazarov Look at your workflow, it's not right if you're saving direct to web
 
@CvetomirLazarov you are looking at it in the wrong way. The user that you are using for development and the webserver should be pat of same group
 
It's not a live version or anything
 
@PeeHaa no problem, I haven't got that in me... I try my best not to ask any one! ;)

*But sometimes, I have to!
 
It's a development stage of a site I'm working on
@tereško problem is - they are in the same group - nginx
And Netbeans still doesn't want to copy and paste files in it's GUI
 
no , that should be the nginx's private group =/
 
11:36 AM
So I should make a new group and put my user and nginx there
?
 
Have got to work now.... Good day everyone!!
 
the permissions for your project should be something like 0775 , for user you and group devel
 
@KamranAhmed Thanks. Have a good day, too :)
@tereško That way Nginx wouldn't work
 
why not ?
works just fine for me
 
Do you have fastcgi turned on?
 
1 min ago, by tereško
works just fine for me
 
@Starsong o_O
 
@tereško I will try it when I get home
It's really bugging me.. :X
I will make a group, called devel and put my user xpand and nginx in that same group. Then, I will set the chown to xpand:devel on the html folder and make it 0775
 
@AlmaDoMundo wp logo explains everything.
 
@Leri wp logo?
 
11:42 AM
@AlmaDoMundo wordpress logo on user account.
 
@Leri ah.. well. Never seen that logo (at least too often to remember)
never messed with WP
 
@tereško Do I have to do something else besides what I said chat.stackoverflow.com/transcript/message/11952406#11952406
 
chown -R xpand:devel /var/www/html_folder
 
@tereško Okay :) Is it a problem that my html folder is here: /usr/share/nginx/html
 
that's not a good place to keep your web related files
 
11:48 AM
@tereško A BSD user would disagree. :P
 
I've learnt something about SO chat... If your problem cannot be solved in room 11, don't bother checking in the other rooms.
 
@iroegbu :)
 
@CvetomirLazarov Also, if your entire site is stored in your document root, your site is built incorrectly. In a well laid out software project /public will be a very small subset of the code.
 
it seems I've picked a good room then - since I've never been in others :p
 
@AlmaDoMundo it's true
 
11:50 AM
@tereško Where is a good place to keep my site on a CentOS
 
Room 10 is OK, if you never want to talk about code
 
That was the default nginx folder. That's why I'm using it.
 
@CvetomirLazarov /var/www/sitename/ with /var/www/sitename/public/ as docroot.
 
↑ that ↓
 
Most of your site should be OUTSIDE docroot.
Ideally docroot will only contain index.php and static assets (CSS, JS, images).
 
11:52 AM
@Starsong For example, I have MVC model (not exactly, because PHP doesn't have MVC, but.. still..) Where do I put my controllers and views
and models
 
there are no "models" in mvc
 
Then you can deny apache script access to any script other than /var/www/somesite/public/index.php which means even if someone gets a c99 shell on your server etc, you cant get fucked.
 
Yes, but I still need to call my controllers
 
19 hours ago, by tereško
/project_name
    /log
    /src
        /application
        /lib
        /public
    /tests
        /application
        /lib
 
Shit.. I'm so noob about linux
 
11:55 AM
you controllers should not be accessible directly
 
I'm loading them with a class
 
instead they should be executed by your php script based on routing data
 
Yes, that's how I'm executing
it's basically an index php file
 
and the index.php should contain only one line of code .. something like
 
index.php?token=myController/myAction/
something like this
with a lot of validations, of course
 
11:56 AM
<?php
    require '../application/bootstrap.php';
.. or maybe init.php instead of bootstrap ... its a matter of preference
 
/log
/src
    /application
    /lib
    /public
/tests
    /application
    /lib
Log is for logs, the src/public is for the html and css/images/js
what is the test for
 
for unit tests
 
Ah, so I can make the application to search for the file in tests first
 
you should structure your code in a way that it will be perfectly fine even if php fails and all the source in your document root becomes readable
 
and if it isn't there, to use the src one
if it is -> use the test one
 
11:59 AM
no
 
I'm feeling dumb
 
you might need to look up what are "unit tests"
 

« first day (1073 days earlier)      last day (3879 days later) »