3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = '<br><br ><br/><br />'; $with_slash = strip_tags( $content, '<br />' ); $without_slash = strip_tags( $content, '<br>' ); echo "With slash:\n'$with_slash'\n\n"; echo "Without slash:\n'$without_slash'\n\n"; echo 'Correct: ' . ( '' === $with_slash ? 'Without slash' : 'With slash' );

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.70.0110.00416.58
8.3.60.0090.00918.18
8.3.50.0080.00820.03
8.3.40.0100.00320.16
8.3.30.0140.00318.54
8.3.20.0080.00024.18
8.3.10.0000.00924.66
8.3.00.0080.00026.16
8.2.190.0090.00916.63
8.2.180.0120.00625.92
8.2.170.0180.00318.96
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0000.01120.55
8.2.100.0040.00717.77
8.2.90.0030.00517.75
8.2.80.0060.00318.79
8.2.70.0060.00317.75
8.2.60.0000.00917.80
8.2.50.0040.00418.05
8.2.40.0080.00018.22
8.2.30.0000.00817.93
8.2.20.0000.00719.12
8.2.10.0030.00518.17
8.2.00.0040.00419.21
8.1.280.0140.00025.92
8.1.270.0020.00524.66
8.1.260.0050.00226.35
8.1.250.0000.00728.09
8.1.240.0100.00619.01
8.1.230.0070.00317.70
8.1.220.0000.00817.79
8.1.210.0040.00418.77
8.1.200.0030.00617.13
8.1.190.0090.00017.23
8.1.180.0050.00318.10
8.1.170.0000.00817.62
8.1.160.0040.00419.06
8.1.150.0030.00518.58
8.1.140.0070.00017.40
8.1.130.0040.00418.86
8.1.120.0040.00417.34
8.1.110.0000.00717.35
8.1.100.0040.00717.39
8.1.90.0130.00317.35
8.1.80.0160.00017.34
8.1.70.0120.00317.29
8.1.60.0130.00417.47
8.1.50.0130.00417.44
8.1.40.0170.00017.36
8.1.30.0110.00717.53
8.1.20.0170.00017.57
8.1.10.0150.00317.48
8.1.00.0180.00017.48
8.0.300.0000.00818.77
8.0.290.0060.00316.63
8.0.280.0050.00318.45
8.0.270.0050.00316.84
8.0.260.0030.00318.37
8.0.250.0030.00316.85
8.0.240.0050.00316.99
8.0.230.0000.01916.79
8.0.220.0130.00516.73
8.0.210.0130.00416.83
8.0.200.0140.00316.80
8.0.190.0130.00716.84
8.0.180.0120.00616.73
8.0.170.0090.00916.69
8.0.160.0090.01016.91
8.0.150.0150.00316.76
8.0.140.0150.00216.74
8.0.130.0070.01016.77
8.0.120.0160.00016.91
8.0.110.0150.00016.93
8.0.100.0100.00516.80
8.0.90.0050.01016.84
8.0.80.0140.00016.89
8.0.70.0100.00516.80
8.0.60.0130.00216.73
8.0.50.0150.00016.90
8.0.30.0080.00816.82
8.0.20.0110.00316.90
8.0.10.0000.01516.97
7.4.330.0000.00515.55
7.4.320.0030.00316.55
7.4.300.0100.00316.55
7.4.290.0140.00216.40
7.4.280.0130.00416.36
7.4.270.0050.00515.84
7.4.260.0070.00416.50
7.4.250.0000.01416.09
7.4.240.0020.00915.96
7.4.230.0030.00816.39
7.4.220.0050.00516.24
7.4.210.0050.00516.16
7.4.200.0100.00016.57
7.4.190.0080.00316.39
7.4.180.0060.00616.36
7.4.160.0050.00516.47
7.4.150.0030.00916.25
7.4.140.0040.00716.23
7.4.130.0110.00016.01
7.4.120.0060.00616.02
7.4.110.0020.00816.33
7.4.100.0080.00316.21
7.4.90.0070.00216.17
7.4.80.0090.00016.35
7.4.70.0050.00516.00
7.4.60.0050.00516.11
7.4.50.0070.00316.12
7.4.40.0070.00315.84
7.4.30.0110.00016.01
7.4.20.0080.00315.90
7.4.10.0070.00316.14
7.4.00.0100.00016.31

preferences:
52.3 ms | 401 KiB | 5 Q