3v4l.org

run code in 300+ PHP versions simultaneously
<?php $class = 'Concrete5_Controller_Name'; // Let's warm up while(++$i < 1000000) { if(0) {} } // Test 'else if' $i = 0; $start = microtime(true); while(++$i < 10000000) { preg_match('/^Concrete5_Model_(.*)/i', $class); } $end = microtime(true); echo "preg_match: ".($end - $start)."\n"; unset($start, $end); // Test 'elseif' $i = 0; $start = microtime(true); while(++$i < 10000000) { stripos($class, 'Concrete5_Model_'); } $end = microtime(true); echo "stripos: ".($end - $start);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.3.10.0102.33816.44
7.3.00.0262.26416.48
7.2.130.0132.32716.79
7.2.120.0202.26516.90
7.2.110.0262.36516.65
7.2.100.0232.25316.66
7.2.90.0172.24516.64
7.2.80.0032.10416.73
7.2.70.0332.01316.73
7.2.60.0122.07816.68
7.2.50.0101.96416.83
7.2.40.0072.23116.53
7.2.30.0072.41416.86
7.2.20.0072.42316.54
7.2.10.0262.10917.08
7.2.00.0082.11218.09
7.1.250.0002.47315.50
7.1.70.0032.05617.44
7.1.60.0132.23119.22
7.1.50.0031.92817.19
7.1.00.0032.49722.33
7.0.200.1472.25716.89
7.0.140.0102.08322.04
7.0.100.0072.27720.09
7.0.90.0072.28320.00
7.0.80.0532.43019.92
7.0.70.0102.14019.99
7.0.60.0072.34720.05
7.0.50.0132.29020.39
7.0.40.0032.38020.07
7.0.30.0132.31020.05
7.0.20.0102.41320.13
7.0.10.0072.46020.14
7.0.00.0002.23019.95
5.6.280.0032.49721.06
5.6.250.0102.47720.63
5.6.240.0032.47320.66
5.6.230.0102.46020.68
5.6.220.0032.42320.53
5.6.210.0172.44320.77
5.6.200.0072.44021.05
5.6.190.0032.47721.07
5.6.180.0032.47721.01
5.6.170.0102.44020.98
5.6.160.0002.42721.10
5.6.150.0002.48320.96
5.6.140.0072.45721.09
5.6.130.0102.47721.07
5.6.120.0032.48020.93
5.6.110.0032.47021.03
5.6.100.0132.47321.04
5.6.90.0072.47321.11
5.6.80.0102.42020.34
5.6.70.0132.47720.39
5.6.60.0032.48320.54
5.6.50.0102.49020.46
5.6.40.0102.46020.32
5.6.30.0101.88320.38
5.6.20.0072.45720.46
5.6.10.0032.44720.46
5.6.00.0172.45020.42
5.5.380.0032.43720.54
5.5.370.0332.41020.36
5.5.360.0202.43320.38
5.5.350.0332.41020.44
5.5.340.0272.42320.93
5.5.330.0102.44320.93
5.5.320.0202.39320.78
5.5.310.0202.43020.80
5.5.300.0172.41720.84
5.5.290.0432.37020.93
5.5.280.0332.37320.84
5.5.270.0302.36320.83
5.5.260.0202.38020.89
5.5.250.0272.30020.52
5.5.240.0232.37720.35
5.5.230.0572.35720.24
5.5.220.0072.19320.27
5.5.210.0202.14720.16
5.5.200.0172.43720.30
5.5.190.0232.43020.23
5.5.180.0272.43320.13
5.5.160.0202.40320.30
5.5.150.0132.44720.18
5.5.140.0232.43720.19
5.5.130.0172.42020.27
5.5.120.0302.38320.20
5.5.110.0172.38020.29
5.5.100.0202.46720.14
5.5.90.0272.35020.20
5.5.80.0202.43720.22
5.5.70.0072.39720.16
5.5.60.0402.35320.16
5.5.50.0132.41319.97
5.5.40.0472.22720.05
5.5.30.0232.42320.21
5.5.20.0302.36320.07
5.5.10.0332.38020.04
5.5.00.0272.35720.09
5.4.450.0332.39319.32
5.4.440.0072.44019.13
5.4.430.0372.40319.16
5.4.420.0072.44719.46
5.4.410.0272.32019.09
5.4.400.0232.41319.08
5.4.390.0232.40318.96
5.4.380.0232.42718.84
5.4.370.0202.44018.82
5.4.360.0172.40718.95
5.4.350.0172.44019.04
5.4.340.0232.36719.09
5.4.320.0372.39718.95
5.4.310.0102.42319.06
5.4.300.0272.33719.06
5.4.290.0402.36719.11
5.4.280.0372.35318.77
5.4.270.0372.43718.97
5.4.260.0232.42318.84
5.4.250.0202.39719.05
5.4.240.0402.38318.93
5.4.230.0172.40018.98
5.4.220.0072.40318.94
5.4.210.0202.40319.02
5.4.200.0172.40718.97
5.4.190.0132.43718.93
5.4.180.0232.35718.94
5.4.170.0032.42018.99
5.4.160.0332.38718.94
5.4.150.0272.43318.97
5.4.140.0102.44316.39
5.4.130.0232.37016.26
5.4.120.0132.40316.26
5.4.110.0032.46016.27
5.4.100.0232.38316.41
5.4.90.0102.46316.24
5.4.80.0272.40016.45
5.4.70.0172.38016.39
5.4.60.0232.40316.39
5.4.50.0172.45316.34
5.4.40.0272.38716.38
5.4.30.0232.39716.28
5.4.20.0232.40316.38
5.4.10.0102.41316.15
5.4.00.0202.44715.68
5.3.290.0172.44014.52
5.3.280.0372.35714.41
5.3.270.0132.41014.46
5.3.260.0132.44314.42
5.3.250.0102.46014.44
5.3.240.0232.40014.42
5.3.230.0172.36314.45
5.3.220.0102.35714.37
5.3.210.0432.36314.38
5.3.200.0232.42014.41
5.3.190.0302.39014.38
5.3.180.0102.45014.38
5.3.170.0232.42014.40
5.3.160.0302.39314.42
5.3.150.0272.32314.40
5.3.140.0472.32014.33
5.3.130.0102.41314.39
5.3.120.0202.41014.36
5.3.110.0302.39314.38
5.3.100.0132.43313.88
5.3.90.0102.44313.85
5.3.80.0202.38713.78
5.3.70.0172.42713.65
5.3.60.0232.42713.72
5.3.50.0172.42713.75
5.3.40.0332.41313.73
5.3.30.0302.36013.68
5.3.20.0202.42713.46
5.3.10.0232.41313.43
5.3.00.0202.42313.36
5.2.170.0332.41310.96
5.2.160.0002.46310.99
5.2.150.0132.40310.91
5.2.140.0102.39010.89
5.2.130.0072.43310.86
5.2.120.0202.35310.94
5.2.110.0202.43710.85
5.2.100.0202.37010.88
5.2.90.0172.40010.95
5.2.80.0232.38310.77
5.2.70.0102.41310.82
5.2.60.0202.46310.89
5.2.50.0172.43010.77
5.2.40.0202.37710.74
5.2.30.0332.36710.74
5.2.20.0332.38010.87
5.2.10.0332.42010.65
5.2.00.0102.29010.40
5.1.60.0232.4109.67
5.1.50.0232.4479.79
5.1.40.0132.3609.79
5.1.30.0172.44310.16
5.1.20.0232.42010.07
5.1.10.0072.4179.91
5.1.00.0232.4009.83
5.0.50.0202.4078.41
5.0.40.0232.3778.22
5.0.30.0072.44311.18
5.0.20.0002.45311.18
5.0.10.0002.47310.23
5.0.00.0032.47010.23
4.4.90.0002.47011.18
4.4.80.0102.49011.18
4.4.70.0002.42711.18
4.4.60.0032.46711.18
4.4.50.0032.49711.18
4.4.40.0002.50011.18
4.4.30.0072.43011.18
4.4.20.0032.47311.18
4.4.10.0032.47011.18
4.4.00.0102.46311.18
4.3.110.0032.45711.18
4.3.100.0032.45711.18
4.3.90.0002.44010.23
4.3.80.0032.43710.23
4.3.70.0072.48710.23
4.3.60.0072.45710.23
4.3.50.0072.46710.23
4.3.40.0002.50010.23
4.3.30.0032.46010.23
4.3.20.0002.44710.23
4.3.10.0002.47010.23
4.3.00.0002.47710.23

preferences:
37.34 ms | 401 KiB | 5 Q