3v4l.org

run code in 300+ PHP versions simultaneously
<?php function check_plain($text) { return htmlspecialchars($text, ENT_QUOTES, 'UTF-8'); } $str = ' is an online shell that allows you to evaluate (hence 3v4l) your code on our servers. We support more than 100 different PHP versions (every version released since 4.3.0) plus HHVM for you to use. For every script you submit, we return: </p><ul> <li>Output from all released PHP and HHVM versions</li> <li>Output from all upcoming alpha &amp; beta PHP versions</li> <li><a href="http://derickrethans.nl/projects.html#vld">VLD</'; print strlen($str) . "\n"; $maxlength = 77; $cutlength = $maxlength; while (0 < $delta = $maxlength - strlen(check_plain(substring($str, $cutlength)))) { $cutlength += $delta; } print substr($str, $cutlength);

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)
8.3.60.0110.00718.43
8.3.50.0070.01221.17
8.3.40.0150.00318.75
8.3.30.0110.00419.13
8.3.20.0160.00320.04
8.3.10.0060.00323.65
8.3.00.0060.00319.38
8.2.180.0140.00718.20
8.2.170.0110.00322.96
8.2.160.0030.01020.39
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0050.00326.16
8.2.120.0000.00822.25
8.2.110.0030.00620.23
8.2.100.0080.00417.59
8.2.90.0080.00019.21
8.2.80.0040.00417.97
8.2.70.0000.00817.74
8.2.60.0000.00818.04
8.2.50.0040.00418.10
8.2.40.0040.00420.07
8.2.30.0040.00419.79
8.2.20.0040.00417.63
8.2.10.0070.00017.98
8.2.00.0060.00517.71
8.1.280.0160.00325.92
8.1.270.0000.00923.67
8.1.260.0030.00526.35
8.1.250.0070.01128.09
8.1.240.0030.00622.77
8.1.230.0110.00017.77
8.1.220.0040.00417.79
8.1.210.0000.00818.77
8.1.200.0060.00317.34
8.1.190.0040.00417.23
8.1.180.0030.00618.10
8.1.170.0050.00318.50
8.1.160.0000.00722.02
8.1.150.0070.00018.53
8.1.140.0040.00417.50
8.1.130.0040.00417.78
8.1.120.0040.00317.48
8.1.110.0090.00017.48
8.1.100.0000.00817.45
8.1.90.0050.00217.38
8.1.80.0040.00917.43
8.1.70.0000.00717.37
8.1.60.0080.00017.60
8.1.50.0040.00417.36
8.1.40.0070.00017.48
8.1.30.0060.00317.57
8.1.20.0040.00417.64
8.1.10.0040.00417.59
8.1.00.0040.00417.53
8.0.300.0060.00318.77
8.0.290.0040.00416.75
8.0.280.0070.00018.36
8.0.270.0070.00017.23
8.0.260.0040.00417.31
8.0.250.0030.00316.91
8.0.240.0080.00016.89
8.0.230.0030.00316.93
8.0.220.0070.00016.97
8.0.210.0000.00716.92
8.0.200.0000.00717.06
8.0.190.0040.00416.95
8.0.180.0000.00717.00
8.0.170.0040.00417.02
8.0.160.0030.00316.87
8.0.150.0000.00816.86
8.0.140.0070.00016.81
8.0.130.0000.00613.35
8.0.120.0080.00016.78
8.0.110.0040.00417.00
8.0.100.0020.00516.86
8.0.90.0000.00716.76
8.0.80.0100.00716.84
8.0.70.0040.00416.88
8.0.60.0040.00416.75
8.0.50.0040.00416.93
8.0.30.0080.01117.19
8.0.20.0130.00617.40
8.0.10.0000.00716.91
8.0.00.0060.01216.72
7.4.330.0020.00215.00
7.4.320.0060.00016.37
7.4.300.0060.00016.60
7.4.290.0040.00416.56
7.4.280.0030.00316.62
7.4.270.0000.00716.66
7.4.260.0030.00316.50
7.4.250.0080.00016.50
7.4.240.0020.00516.50
7.4.230.0030.00316.63
7.4.220.0080.00916.70
7.4.210.0070.00816.59
7.4.200.0040.00416.70
7.4.190.0050.00216.60
7.4.160.0060.01016.53
7.4.150.0140.00317.40
7.4.140.0090.00917.86
7.4.130.0120.00716.52
7.4.120.0100.01016.58
7.4.110.0130.01016.60
7.4.100.0110.01116.43
7.4.90.0100.00716.69
7.4.80.0060.00919.39
7.4.70.0050.01116.48
7.4.60.0130.01016.40
7.4.50.0030.00616.50
7.4.40.0050.00622.77
7.4.30.0030.01316.43
7.4.00.0130.00314.90
7.3.330.0000.00513.17
7.3.320.0050.00013.21
7.3.310.0000.00716.26
7.3.300.0000.00716.29
7.3.290.0030.01016.36
7.3.280.0060.01216.40
7.3.270.0120.00617.40
7.3.260.0140.00316.57
7.3.250.0090.00816.44
7.3.240.0110.01116.62
7.3.230.0100.00716.47
7.3.210.0150.00916.73
7.3.200.0070.01019.39
7.3.190.0090.00916.58
7.3.180.0130.00316.32
7.3.170.0040.01216.34
7.3.160.0040.01216.53
7.3.120.0090.00814.80
7.3.110.0120.00614.74
7.3.100.0080.01214.57
7.3.90.0100.00314.74
7.3.80.0120.00614.89
7.3.70.0120.00615.02
7.3.60.0030.00714.82
7.3.50.0060.01014.62
7.3.40.0060.00614.86
7.3.30.0040.01114.76
7.3.20.0000.01016.77
7.3.10.0050.00716.66
7.3.00.0020.01016.63
7.2.330.0090.00916.38
7.2.320.0090.00816.70
7.2.310.0070.01116.66
7.2.300.0060.01116.61
7.2.290.0090.01316.36
7.2.250.0130.00614.66
7.2.240.0070.01014.88
7.2.230.0090.00614.55
7.2.220.0000.01515.02
7.2.210.0100.00715.04
7.2.200.0060.00614.74
7.2.190.0060.00615.04
7.2.180.0120.00615.18
7.2.170.0060.00614.91
7.2.160.0040.01115.04
7.2.150.0000.01016.76
7.2.140.0120.00616.88
7.2.130.0050.00816.80
7.2.120.0040.00916.55
7.2.110.0080.00516.63
7.2.100.0060.00816.84
7.2.90.0060.00716.86
7.2.80.0090.00316.79
7.2.70.0060.00816.92
7.2.60.0100.00416.90
7.2.50.0040.00516.89
7.2.40.0070.00316.78
7.2.30.0090.00716.89
7.2.20.0060.00616.73
7.2.10.0060.01016.77
7.2.00.0060.00717.58
7.1.330.0040.01415.79
7.1.320.0090.00615.73
7.1.310.0030.00915.82
7.1.300.0060.00915.29
7.1.290.0070.00715.81
7.1.280.0060.00615.61
7.1.270.0070.00715.58
7.1.260.0030.01015.75
7.1.250.0040.00915.73
7.1.240.0080.00415.72
7.1.230.0080.00815.59
7.1.220.0090.00015.86
7.1.210.0000.01215.84
7.1.200.0080.00615.81
7.1.190.0000.01115.90
7.1.180.0090.00615.47
7.1.170.0070.00415.57
7.1.160.0000.01315.85
7.1.150.0000.00815.84
7.1.140.0000.01115.79
7.1.130.0000.01115.63
7.1.120.0040.01215.67
7.1.110.0000.01715.71
7.1.100.0050.00516.89
7.1.90.0070.00715.86
7.1.80.0000.01315.68
7.1.70.0080.00416.11
7.1.60.0050.01217.64
7.1.50.0150.01025.09
7.1.40.0070.00715.50
7.1.30.0090.00316.02
7.1.20.0040.00815.86
7.1.10.0090.00315.64
7.1.00.0020.04518.93
7.0.330.0030.00615.52
7.0.320.0080.00415.14
7.0.310.0030.01015.47
7.0.300.0000.00815.38
7.0.290.0030.01015.63
7.0.280.0070.00715.41
7.0.270.0030.00715.18
7.0.260.0030.01315.45
7.0.250.0000.01815.54
7.0.240.0070.00715.51
7.0.230.0040.01115.30
7.0.220.0090.00015.36
7.0.210.0070.00715.46
7.0.200.0050.00816.17
7.0.190.0050.00515.32
7.0.180.0000.01415.07
7.0.170.0100.00015.52
7.0.160.0060.00615.38
7.0.150.0080.00315.33
7.0.140.0050.03818.67
7.0.130.0070.00715.19
7.0.120.0000.01215.42
7.0.110.0050.00915.45
7.0.100.0030.00515.36
7.0.90.0030.00615.27
7.0.80.0110.00315.38
7.0.70.0080.00815.52
7.0.60.0060.02117.58
7.0.50.0070.04316.63
7.0.40.0100.04316.93
7.0.30.0180.02216.99
7.0.20.0120.02616.88
7.0.10.0180.03816.85
7.0.00.0060.04916.79
5.6.400.0110.00414.15
5.6.390.0000.01414.45
5.6.380.0040.00414.19
5.6.370.0000.00914.27
5.6.360.0040.01114.14
5.6.350.0060.01014.55
5.6.340.0100.00014.33
5.6.330.0040.00814.39
5.6.320.0000.00914.12
5.6.310.0060.01314.59
5.6.300.0030.01414.55
5.6.290.0070.00713.98
5.6.280.0030.04317.48
5.6.270.0100.00314.59
5.6.260.0040.01114.38
5.6.250.0060.00914.10
5.6.240.0060.00914.32
5.6.230.0060.00614.28
5.6.220.0040.00714.40
5.6.210.0030.03017.35
5.6.200.0100.03616.39
5.6.190.0110.04017.51
5.6.180.0150.05017.35
5.6.170.0180.04317.50
5.6.160.0000.04717.42
5.6.150.0030.02816.08
5.6.140.0070.02816.41
5.6.130.0050.04316.23
5.6.120.0080.04317.70
5.6.110.0020.05017.77
5.6.100.0070.03617.66
5.6.90.0040.02517.58
5.6.80.0080.03317.38
5.6.70.2310.02317.28
5.6.60.0070.00714.28
5.6.50.0080.00814.06
5.6.40.0070.00714.16
5.6.30.0110.00414.23
5.6.20.0090.00313.98
5.6.10.0000.01314.02
5.6.00.0060.00613.95
5.5.380.0100.00713.91
5.5.370.0030.01214.17
5.5.360.0060.00314.12
5.5.350.0100.04017.35
5.5.340.0050.02616.25
5.5.330.0110.03317.06
5.5.320.1550.02817.32
5.5.310.0180.02817.28
5.5.300.0070.04316.15
5.5.290.0020.05016.20
5.5.280.0050.04617.58
5.5.270.0030.02417.51
5.5.260.0080.04117.58
5.5.250.0110.04217.42
5.5.240.0100.02317.22
5.5.230.0000.01213.89
5.5.220.0000.00914.16
5.5.210.0040.01114.11
5.5.200.0040.01113.93
5.5.190.0120.00313.88
5.5.180.0060.00914.09
5.5.170.0000.01014.17
5.5.160.0070.00714.29
5.5.150.0000.01114.17
5.5.140.0070.00713.95
5.5.130.0070.00314.07
5.5.120.0110.00314.26
5.5.110.0040.00914.03
5.5.100.0090.00313.91
5.5.90.0060.00614.00
5.5.80.0040.00713.88
5.5.70.0040.01213.91
5.5.60.0000.00913.83
5.5.50.0070.00714.14
5.5.40.0060.00814.28
5.5.30.0080.00614.14
5.5.20.0080.00414.34
5.5.10.0060.00314.07
5.5.00.0030.01414.25
5.4.450.0040.03915.58
5.4.440.0380.02515.66
5.4.430.0050.03415.62
5.4.420.0070.03415.63
5.4.410.0020.03515.58
5.4.400.0080.02715.38
5.4.390.0100.02715.45
5.4.380.0220.02815.30
5.4.370.0170.02915.23
5.4.360.0240.02215.23
5.4.350.0210.02515.27
5.4.340.0220.02215.23
5.4.330.0000.01111.85
5.4.320.0070.01912.18
5.4.310.0080.02212.17
5.4.300.0040.02312.17
5.4.290.0040.02912.16
5.4.280.0050.02612.12
5.4.270.0050.02712.12
5.4.260.0020.03012.12
5.4.250.0060.01812.11
5.4.240.0080.02912.12
5.4.230.0080.02812.11
5.4.220.0090.02012.11
5.4.210.0070.03712.11
5.4.200.0080.03012.11
5.4.190.0070.02612.11
5.4.180.0040.02812.11
5.4.170.0040.02312.11
5.4.160.0070.02112.11
5.4.150.0070.02012.11
5.4.140.0050.02311.95
5.4.130.0040.02211.95
5.4.120.0040.02011.92
5.4.110.0030.02211.92
5.4.100.0050.02211.92
5.4.90.0070.02311.92
5.4.80.0060.02111.92
5.4.70.0060.02211.92
5.4.60.0040.02611.92
5.4.50.0110.02111.92
5.4.40.0130.02311.91
5.4.30.0050.02411.91
5.4.20.0090.02411.91
5.4.10.0080.02311.91
5.4.00.0050.03211.66
5.3.290.0080.02812.32
5.3.280.0070.03012.28
5.3.270.0060.03112.29
5.3.260.0080.02912.28
5.3.250.0050.03012.28
5.3.240.0070.03212.29
5.3.230.0090.03212.28
5.3.220.0060.04012.27
5.3.210.0080.02912.27
5.3.200.0080.02712.27
5.3.190.0040.03512.26
5.3.180.0050.03212.26
5.3.170.0090.02812.26
5.3.160.0070.03212.26
5.3.150.0040.03312.26
5.3.140.0060.02712.25
5.3.130.0080.02212.25
5.3.120.0060.02312.25
5.3.110.0030.02412.25
5.3.100.0040.02311.99
5.3.90.0030.02311.98
5.3.80.0040.02311.97
5.3.70.0040.02411.97
5.3.60.0050.03511.96
5.3.50.0050.03711.94
5.3.40.0070.03111.94
5.3.30.0070.03011.91
5.3.20.0090.03211.81
5.3.10.0050.03511.79
5.3.00.0040.03511.78
5.2.170.0080.0479.22
5.2.160.0090.0429.22
5.2.150.0090.0479.22
5.2.140.0100.0539.21
5.2.130.0110.0809.18
5.2.120.0090.0419.18
5.2.110.0150.0639.19
5.2.100.0100.0579.18
5.2.90.0230.0759.17
5.2.80.0050.0549.18
5.2.70.0090.0549.17
5.2.60.0060.0459.13
5.2.50.0070.0539.09
5.2.40.0110.0469.07
5.2.30.0110.0559.04
5.2.20.0080.0459.04
5.2.10.0120.0538.95
5.2.00.0140.0528.81
5.1.60.0090.0508.09
5.1.50.0090.0378.09
5.1.40.0080.0398.07
5.1.30.0120.0538.42
5.1.20.0120.0488.44
5.1.10.0100.0478.16
5.1.00.0150.0638.16
5.0.50.0150.0746.64
5.0.40.0060.0406.50
5.0.30.0070.0456.31
5.0.20.0050.0296.29
5.0.10.0110.0456.27
5.0.00.0070.0476.26
4.4.90.0070.0274.78
4.4.80.0050.0264.76
4.4.70.0150.0264.76
4.4.60.0040.0264.75
4.4.50.0040.0284.77
4.4.40.0060.0514.71
4.4.30.0060.0234.76
4.4.20.0080.0234.85
4.4.10.0080.0324.85
4.4.00.0040.0364.76
4.3.110.0070.0394.67
4.3.100.0060.0384.66
4.3.90.0060.0154.64
4.3.80.0030.0334.59
4.3.70.0030.0224.63
4.3.60.0040.0214.63
4.3.50.0030.0184.63
4.3.40.0310.0514.54
4.3.30.0050.0163.30
4.3.20.0020.0243.28
4.3.10.0050.0193.24
4.3.00.0000.0238.68

preferences:
51.89 ms | 401 KiB | 5 Q