3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'New York deadline May 14th, 2010 (urgent)'; echo strtolower( strtr( strstr($str, ' deadline', true), ' ', '-' ) );

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.5.30.0100.00819.51
8.5.20.0120.00720.12
8.5.10.0080.00916.72
8.5.00.0100.01021.55
8.4.180.0120.01019.49
8.4.170.0120.00920.70
8.4.160.0130.01023.11
8.4.150.0070.00716.86
8.4.140.0160.00517.34
8.4.130.0110.00817.70
8.4.120.0100.01120.65
8.4.110.0110.00622.20
8.4.100.0140.00617.70
8.4.90.0150.00619.31
8.4.80.0060.00317.68
8.4.70.0080.00717.70
8.4.60.0130.00717.78
8.4.50.0120.00917.52
8.4.40.0110.01017.68
8.4.30.0120.00920.51
8.4.20.0070.01419.51
8.4.10.0030.00619.46
8.3.300.0090.01120.76
8.3.290.0120.00820.72
8.3.280.0150.00518.13
8.3.270.0100.00916.36
8.3.260.0140.00516.30
8.3.250.0090.01018.52
8.3.240.0120.00616.33
8.3.230.0120.00716.57
8.3.220.0110.00617.07
8.3.210.0040.00416.64
8.3.200.0130.00618.79
8.3.190.0110.01016.48
8.3.180.0090.01316.87
8.3.170.0080.01118.77
8.3.160.0030.00617.11
8.3.150.0060.00316.42
8.3.140.0030.01216.99
8.3.130.0110.00016.60
8.3.120.0000.00920.85
8.3.110.0090.00018.16
8.3.100.0150.01037.54
8.3.90.0320.00537.54
8.3.80.0320.00737.54
8.3.70.0250.00337.54
8.3.60.0200.00737.54
8.3.50.0240.00437.54
8.3.40.0220.00037.54
8.3.30.0160.01037.54
8.3.20.0240.00037.54
8.3.10.0160.00537.54
8.3.00.0180.00337.54
8.2.300.0100.01018.09
8.2.290.0130.00620.25
8.2.280.0110.00716.40
8.2.270.0060.00316.57
8.2.260.0040.00418.01
8.2.250.0090.00016.80
8.2.240.0070.00716.95
8.2.230.0080.00020.94
8.2.220.0120.00437.54
8.2.210.0170.00337.54
8.2.200.0150.00537.54
8.2.190.0180.00337.54
8.2.180.0150.00637.54
8.2.170.0140.01137.54
8.2.160.0140.00937.54
8.2.150.0200.00437.54
8.2.140.0250.00037.54
8.2.130.0160.00737.54
8.2.120.0170.00737.54
8.2.110.0130.00937.54
8.2.100.0180.00437.54
8.2.90.0200.00437.54
8.2.80.0180.00537.54
8.2.70.0110.01137.54
8.2.60.0270.00037.54
8.2.50.0200.00337.54
8.2.40.0130.00737.54
8.2.30.0180.00437.54
8.2.20.0190.00337.54
8.2.10.0180.00637.54
8.2.00.0180.00437.54
8.1.340.0120.00817.74
8.1.330.0090.01016.66
8.1.320.0090.01315.86
8.1.310.0060.01218.03
8.1.300.0090.00619.41
8.1.290.0100.01537.54
8.1.280.0120.00837.54
8.1.270.0110.01137.54
8.1.260.0220.00037.54
8.1.250.0120.01037.54
8.1.240.0130.00837.54
8.1.230.0100.01037.54
8.1.220.0140.00737.54
8.1.210.0210.00037.54
8.1.200.0160.00337.54
8.1.190.0160.00337.54
8.1.180.0160.00437.54
8.1.170.0170.00337.54
8.1.160.0100.01037.54
8.1.150.0270.00037.54
8.1.140.0130.00737.54
8.1.130.0170.00437.54
8.1.120.0170.00337.54
8.1.110.0080.01237.54
8.1.100.0110.00837.54
8.1.90.0100.01037.54
8.1.80.0110.01137.54
8.1.70.0130.00937.54
8.1.60.0170.00837.54
8.1.50.0220.00337.54
8.1.40.0190.00637.54
8.1.30.0190.00237.54
8.1.20.0180.00337.54
8.1.10.0180.00637.54
8.1.00.0130.00937.54

preferences:
60.79 ms | 978 KiB | 5 Q