3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = "Sample Testing String"; $start = array_sum( explode( ' ', microtime( ) ) ); for( $a = 1000000; $a ; --$a ) { strlen( $str ); } $end = array_sum( explode(' ', microtime()) );echo $end - $start; die;
Output for 7.1.0
0.01948094367981
Output for 7.0.14
0.035965919494629
Output for 7.0.6
0.017289161682129
Output for 7.0.5
0.011033058166504
Output for 7.0.4
0.016999959945679
Output for 7.0.3
0.010910987854004
Output for 7.0.2
0.014532089233398
Output for 7.0.1
0.017213106155396
Output for 7.0.0
0.011625051498413
Output for 5.6.28
0.10461711883545
Output for 5.6.21
0.085984945297241
Output for 5.6.20
0.067673921585083
Output for 5.6.19
0.07219409942627
Output for 5.6.18
0.06272292137146
Output for 5.6.17
0.070039987564087
Output for 5.6.16
0.068160772323608
Output for 5.6.15
0.085242986679077
Output for 5.6.14
0.072211027145386
Output for 5.6.13
0.089881896972656
Output for 5.6.12
0.078189134597778
Output for 5.6.11
0.075764894485474
Output for 5.6.10
0.091760873794556
Output for 5.6.9
0.087297201156616
Output for 5.6.8
0.084985971450806
Output for 5.6.7
0.065336942672729
Output for 5.5.35
0.092082977294922
Output for 5.5.34
0.082511901855469
Output for 5.5.33
0.07387900352478
Output for 5.5.32
0.080214023590088
Output for 5.5.31
0.067554950714111
Output for 5.5.30
0.076648950576782
Output for 5.5.29
0.065305948257446
Output for 5.5.28
0.079048156738281
Output for 5.5.27
0.069940090179443
Output for 5.5.26
0.086958885192871
Output for 5.5.25
0.0765540599823
Output for 5.5.24
0.080659151077271
Output for 5.4.45
0.12359189987183
Output for 5.4.44
0.054403066635132
Output for 5.4.43
0.12294101715088
Output for 5.4.42
0.099265098571777
Output for 5.4.41
0.10739302635193
Output for 5.4.40
0.10164499282837
Output for 5.4.39
0.10191798210144
Output for 5.4.38
0.10354709625244
Output for 5.4.37
0.094568014144897
Output for 5.4.36
0.096333026885986
Output for 5.4.35
0.16356801986694
Output for 5.4.34
0.083292007446289
Output for 5.4.32
0.084617137908936
Output for 5.4.31
0.090153932571411
Output for 5.4.30
0.07703685760498
Output for 5.4.29
0.090723991394043
Output for 5.4.28
0.07243013381958
Output for 5.4.27
0.070456981658936
Output for 5.4.26
0.074619054794312
Output for 5.4.25
0.072634935379028
Output for 5.4.24
0.074579954147339
Output for 5.4.23
0.075556993484497
Output for 5.4.22
0.074305057525635
Output for 5.4.21
0.074674844741821
Output for 5.4.20
0.076123952865601
Output for 5.4.19
0.071053028106689
Output for 5.4.18
0.075536012649536
Output for 5.4.17
0.070511102676392
Output for 5.4.16
0.073619842529297
Output for 5.4.15
0.073256015777588
Output for 5.4.14
0.075382947921753
Output for 5.4.13
0.10648894309998
Output for 5.4.12
0.074458837509155
Output for 5.4.11
0.074833869934082
Output for 5.4.10
0.10151982307434
Output for 5.4.9
0.096934080123901
Output for 5.4.8
0.095519065856934
Output for 5.4.7
0.078633785247803
Output for 5.4.6
0.075776100158691
Output for 5.4.5
0.078557014465332
Output for 5.4.4
0.076634883880615
Output for 5.4.3
0.07866096496582
Output for 5.4.2
0.078194856643677
Output for 5.4.1
0.077189922332764
Output for 5.4.0
0.076419830322266
Output for 5.3.29
0.091947078704834
Output for 5.3.28
0.090569972991943
Output for 5.3.27
0.088233947753906
Output for 5.3.26
0.089607954025269
Output for 5.3.25
0.087299823760986
Output for 5.3.24
0.087092876434326
Output for 5.3.23
0.090004920959473
Output for 5.3.22
0.090466976165771
Output for 5.3.21
0.11409687995911
Output for 5.3.20
0.095232009887695
Output for 5.3.19
0.10931015014648
Output for 5.3.18
0.091361045837402
Output for 5.3.17
0.11311006546021
Output for 5.3.16
0.10148692131042
Output for 5.3.15
0.098473072052002
Output for 5.3.14
0.0936119556427
Output for 5.3.13
0.09230899810791
Output for 5.3.12
0.093400955200195
Output for 5.3.11
0.096676111221313
Output for 5.3.10
0.092787027359009
Output for 5.3.9
0.092747211456299
Output for 5.3.8
0.089962005615234
Output for 5.3.7
0.090039968490601
Output for 5.3.6
0.093708038330078
Output for 5.3.5
0.087680101394653
Output for 5.3.4
0.094938039779663
Output for 5.3.3
0.10336208343506
Output for 5.3.2
0.10639095306396
Output for 5.3.1
0.091504096984863
Output for 5.3.0
0.08777904510498
Output for 5.2.17
0.080781936645508
Output for 5.2.16
0.079976081848145
Output for 5.2.15
0.081732034683228
Output for 5.2.14
0.091768026351929
Output for 5.2.13
0.080883026123047
Output for 5.2.12
0.079670906066895
Output for 5.2.11
0.080351114273071
Output for 5.2.10
0.084027051925659
Output for 5.2.9
0.081768035888672
Output for 5.2.8
0.10424494743347
Output for 5.2.7
0.079959154129028
Output for 5.2.6
0.082935810089111
Output for 5.2.5
0.081588983535767
Output for 5.2.4
0.085200071334839
Output for 5.2.3
0.078738927841187
Output for 5.2.2
0.081172943115234
Output for 5.2.1
0.078912019729614
Output for 5.2.0
0.080020904541016
Output for 5.1.6
0.074788093566895
Output for 5.1.5
0.074082136154175
Output for 5.1.4
0.083410024642944
Output for 5.1.3
0.077887058258057
Output for 5.1.2
0.077739953994751
Output for 5.1.1
0.075989007949829
Output for 5.1.0
0.078430891036987
Output for 5.0.5
0.18086504936218
Output for 5.0.4
0.20052599906921
Output for 5.0.3
0.18114399909973
Output for 5.0.2
0.18362593650818
Output for 5.0.1
0.18474102020264
Output for 5.0.0
0.21321082115173
Output for 4.4.9
0.18056583404541
Output for 4.4.8
0.17777109146118
Output for 4.4.7
0.18433880805969
Output for 4.4.6
0.17623901367188
Output for 4.4.5
0.20824098587036
Output for 4.4.4
0.19180703163147
Output for 4.4.3
0.18455696105957
Output for 4.4.2
0.19408202171326
Output for 4.4.1
0.22072505950928
Output for 4.4.0
0.19218492507935
Output for 4.3.11
0.22159099578857
Output for 4.3.10
0.20844483375549
Output for 4.3.9
0.19194507598877
Output for 4.3.8
0.194580078125
Output for 4.3.7
0.20962619781494
Output for 4.3.6
0.19437384605408
Output for 4.3.5
0.18917918205261
Output for 4.3.4
0.18661594390869
Output for 4.3.3
0.18294501304626
Output for 4.3.2
0.16373801231384
Output for 4.3.1
0.18078994750977
Output for 4.3.0
0.11890006065369